[PR #11465/24098cd6 backport][stable-12] Reformat code (#11466)

Reformat code (#11465)

Reformat code.

(cherry picked from commit 24098cd638)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2026-02-04 09:04:00 +01:00
committed by GitHub
parent a266ba1d6e
commit dd9c86dfc0
6 changed files with 19 additions and 25 deletions

View File

@@ -320,10 +320,10 @@ class NetworksModule(OpenNebulaModule):
return None
def get_template_by_id(self, template_id):
return self.get_template(lambda template: (template_id == template.ID))
return self.get_template(lambda template: template_id == template.ID)
def get_template_by_name(self, name):
return self.get_template(lambda template: (name == template.NAME))
return self.get_template(lambda template: name == template.NAME)
def get_template_instance(self, requested_id, requested_name):
if requested_id: