Skip to content

Commit

Permalink
Revert "Adding imprv where user can group VMs by project name"
Browse files Browse the repository at this point in the history
This reverts commit 1e75a61.
  • Loading branch information
george-ghawali committed Oct 7, 2024
1 parent 1e75a61 commit c8b089b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/inventory/ntnx_prism_vm_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,6 @@ def parse(self, inventory, loader, path, cache=True):
self.inventory.set_variable(
vm_name, "ntnx_categories", entity["metadata"]["categories"]
)
if "metadata" in entity and "project_reference" in entity["metadata"]:
self.inventory.set_variable(
vm_name,
"ntnx_project",
entity["metadata"]["project_reference"]["name"],
)

# Add variables created by the user's Jinja2 expressions to the host
self._set_composite_vars(
Expand Down

0 comments on commit c8b089b

Please sign in to comment.