Skip to content

Commit

Permalink
remove whitespace from network names
Browse files Browse the repository at this point in the history
  • Loading branch information
Arik Kfir committed Oct 3, 2017
1 parent d499f9c commit 3009a73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update_ingresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def main():
if ing['networks']:
ing_desired_whitelist = []
for network_name in ing['networks']:
network_name = network_name.strip()
ing_desired_whitelist.extend(networks[network_name] if network_name in networks else [])
else:
ing_desired_whitelist = ["0.0.0.0/0"]
Expand Down

0 comments on commit 3009a73

Please sign in to comment.