Skip to content

Commit

Permalink
feat(inventory): remove bad filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone authored Jun 5, 2023
2 parents 205f2de + 947f878 commit 4c8a60e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/inventory/scaleway.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,6 @@ def _get_instances(self, client: "Client", filters: _Filters) -> List[_Host]:

results: List[_Host] = []
for server in servers:
if filters.zones:
zones = [server.zone.startswith(region) for region in filters.zones]

if any(zones):
continue

host = _Host(
id=server.id,
hostname=server.hostname,
Expand Down

0 comments on commit 4c8a60e

Please sign in to comment.