Skip to content
This repository was archived by the owner on Jan 8, 2021. It is now read-only.

Commit

Permalink
Fixed cleanup requests for IP defined vCenter hosts for #51
Browse files Browse the repository at this point in the history
  • Loading branch information
synackray committed Feb 4, 2020
1 parent e61f36f commit 81850fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,8 @@ def remove_all(self):
)
query = "?tag={}".format(
# vCenter site is a global dependency so we change the query
"vcenter" if nb_obj_type == "sites" else self.vc_tag
"vcenter" if nb_obj_type == "sites"
else format_slug(self.vc_tag)
)
nb_objects = self.request(
req_type="get", nb_obj_type=nb_obj_type,
Expand Down

0 comments on commit 81850fe

Please sign in to comment.