Merge pull request #33 from srufle/master

Added skipping 596 error code
This commit is contained in:
Xabi 2021-03-05 22:44:35 +01:00 committed by GitHub
commit f3836c16e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ def main_list(options, config_path):
qemu_list = proxmox_api.node_qemu(node)
except HTTPError as error:
# the API raises code 595 when target node is unavailable, skip it
if error.code == 595:
if error.code == 595 or error.code == 596:
continue
# if it was some other error, reraise it
raise error