Reset the domain name after the save completes. This is necessary, now that

we have persistent domains.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-11-27 14:47:23 +00:00
1 parent b05e41a16b
commit b12b62c2fd
1 file changed
+1
+1
View File
@@ -97,6 +97,7 @@ def save(fd, dominfo, network, live, dst):
forkHelper(cmd, fd, saveInputHandler, False)
dominfo.destroyDomain()
dominfo.setName(domain_name)
except Exception, exn:
log.exception("Save failed on domain %s (%d).", domain_name,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.