Fix bad variable name

This commit is contained in:
Joshua Boniface 2020-01-06 16:30:59 -05:00
parent 30d4470c8f
commit a0542d61d0
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ def vm_modify(domain, cfgfile, editor, restart):
else:
click.echo('Replacing configuration of VM "{}" with file "{}".'.format(dom_name, cfgfile.name))
retcode, retmsg = pvc_vm.vm_modify(config, domain, new_vm_config, restart)
retcode, retmsg = pvc_vm.vm_modify(config, domain, new_vm_cfgfile, restart)
cleanup(retcode, retmsg)
###############################################################################