1
0
Fork 0

Use shutdown instead of destroy

master
dump_stack() 2018-07-11 23:49:10 +00:00
parent 2874b9feaf
commit 41411ebdbe
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ func stop(l *libvirt.Libvirt, name string) {
log.Fatal(err)
}
}
err = l.DomainDestroy(dom)
err = l.DomainShutdown(dom)
if err != nil {
log.Fatal(err)
}