mirror of https://github.com/apache/cloudstack.git
deployvm : Sending a refresh in case autogen hasn't picked up the new VM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
d383490095
commit
52a820541f
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue