Skip to content

Commit

Permalink
Merge pull request #513 from nutanix/feat/revert-issue#500
Browse files Browse the repository at this point in the history
Revert "Adding imprv where user can group VMs by project name"
  • Loading branch information
george-ghawali authored Oct 7, 2024
2 parents 1e75a61 + c8b089b commit a8ab0f3
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 a8ab0f3

Please sign in to comment.