Fix missing format key on delete

This commit is contained in:
Joshua Boniface 2019-03-15 01:13:03 -04:00
parent 836d7eb538
commit 318a2353ea
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ def undefine_vm(zk_conn, domain):
# Delete the configurations
try:
click.echo('Undefining VM "{}".'.format(dom_uuid))
zkhandler.deletekey(zk_conn, '/domains/{}')
zkhandler.deletekey(zk_conn, '/domains/{}'.format(dom_uuid))
except:
pass