Fix bad function name

This commit is contained in:
Joshua Boniface 2023-10-17 10:56:32 -04:00
parent 75b839692b
commit 4fc9b15652
1 changed files with 1 additions and 1 deletions

View File

@ -2356,7 +2356,7 @@ class API_VM_Backup(Resource):
target_path = reqargs.get("target_path", None) target_path = reqargs.get("target_path", None)
incremental_parent = reqargs.get("incremental_parent", None) incremental_parent = reqargs.get("incremental_parent", None)
retain_snapshots = bool(strtobool(reqargs.get("retain_snapshots", "false"))) retain_snapshots = bool(strtobool(reqargs.get("retain_snapshots", "false")))
return api_helper.backup_vm( return api_helper.vm_backup(
vm, target_path, incremental_parent, retain_snapshots vm, target_path, incremental_parent, retain_snapshots
) )