Skip to content

Commit

Permalink
Fix bug: Bareos Ovirt Plugin
Browse files Browse the repository at this point in the history
This patch for backup a VM by using VM id

(cherry picked from commit e5f2e6d)
  • Loading branch information
hamazasalah authored and arogge committed Apr 8, 2020
1 parent c7af75c commit 4f81af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/filed/BareosFdPluginOvirt.py
Expand Up @@ -892,7 +892,7 @@ def prepare_vm_backup(self, context):
def get_vm(self, context):
search = None
if "uuid" in self.options:
search = "uuid=%s" % str(self.options["uuid"])
search = "id=%s" % str(self.options["uuid"])
elif "vm_name" in self.options:
search = "name=%s" % str(self.options["vm_name"])

Expand Down

0 comments on commit 4f81af9

Please sign in to comment.