cleanup: Run make format

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-04-15 14:29:17 +02:00
parent 6cb279e3d1
commit 7c5de4adf9
2 changed files with 11 additions and 3 deletions

View File

@@ -614,9 +614,15 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
"""
host_vars = self.inventory.get_host(vmi_name).get_vars()
strict = self.get_option("strict")
self._set_composite_vars(self.get_option("compose"), host_vars, vmi_name, strict=True)
self._add_host_to_composed_groups(self.get_option("groups"), host_vars, vmi_name, strict=strict)
self._add_host_to_keyed_groups(self.get_option("keyed_groups"), host_vars, vmi_name, strict=strict)
self._set_composite_vars(
self.get_option("compose"), host_vars, vmi_name, strict=True
)
self._add_host_to_composed_groups(
self.get_option("groups"), host_vars, vmi_name, strict=strict
)
self._add_host_to_keyed_groups(
self.get_option("keyed_groups"), host_vars, vmi_name, strict=strict
)
def get_ssh_services_for_namespace(self, client: K8SClient, namespace: str) -> Dict:
"""