Fix bad function call

This commit is contained in:
Joshua Boniface 2024-08-20 12:58:17 -04:00
parent f42a1bad0e
commit 6597f7aef6
1 changed files with 1 additions and 1 deletions

View File

@ -1954,7 +1954,7 @@ def cli_vm_snapshot_import(domain, snapshot_name, import_path, retain_snapshot):
f"Importing snapshot '{snapshot_name}' of VM '{domain}'... ", f"Importing snapshot '{snapshot_name}' of VM '{domain}'... ",
newline=False, newline=False,
) )
retcode, retmsg = pvc.lib.vm.vm_snapshot_import( retcode, retmsg = pvc.lib.vm.vm_import_snapshot(
CLI_CONFIG, domain, snapshot_name, import_path, retain_snapshot CLI_CONFIG, domain, snapshot_name, import_path, retain_snapshot
) )
if retcode: if retcode: