You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by an...@apache.org on 2020/08/27 11:08:36 UTC
[cloudstack-primate] branch master updated: deployvm : Sending a
refresh in case autogen hasn't picked up the new VM
This is an automated email from the ASF dual-hosted git repository.
andrijapanic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new 120a2e2 deployvm : Sending a refresh in case autogen hasn't picked up the new VM
new fe3d046 Merge pull request #627 from shapeblue/fix-refresh
120a2e2 is described below
commit 120a2e2881465945ef011d31a80863736942a3cf
Author: davidjumani <dj...@gmail.com>
AuthorDate: Thu Aug 27 16:08:03 2020 +0530
deployvm : Sending a refresh in case autogen hasn't picked up the new VM
---
src/views/compute/DeployVM.vue | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/views/compute/DeployVM.vue b/src/views/compute/DeployVM.vue
index e2e59cb..20061c7 100644
--- a/src/views/compute/DeployVM.vue
+++ b/src/views/compute/DeployVM.vue
@@ -1402,6 +1402,10 @@ export default {
status: 'progress'
})
}
+ // Sending a refresh in case it hasn't picked up the new VM
+ new Promise(resolve => setTimeout(resolve, 3000)).then(() => {
+ eventBus.$emit('vm-refresh-data')
+ })
this.$router.back()
}).catch(error => {
this.$notifyError(error)