From 5ad2dda6d4feb7518f00474adc3165b52fdebaec Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Wed, 10 Apr 2019 16:29:26 -0400 Subject: [PATCH] Only print file name --- client-cli/pvc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-cli/pvc.py b/client-cli/pvc.py index ab35bb72..e0e20774 100755 --- a/client-cli/pvc.py +++ b/client-cli/pvc.py @@ -358,9 +358,9 @@ def vm_modify(domain, config, editor, restart): config.close() if restart: - click.echo('Replacing config of VM "{}" with file "{}" and restarting.'.format(dom_name, config)) + click.echo('Replacing config of VM "{}" with file "{}" and restarting.'.format(dom_name, config.name)) else: - click.echo('Replacing config of VM "{}" with file "{}".'.format(dom_name, config)) + click.echo('Replacing config of VM "{}" with file "{}".'.format(dom_name, config.name)) retcode, retmsg = pvc_vm.modify_vm(zk_conn, domain, restart, new_vm_config) cleanup(retcode, retmsg, zk_conn)