Skip to content

Commit

Permalink
merged and fixed a missing LOG
Browse files Browse the repository at this point in the history
  • Loading branch information
XaverStiensmeier committed Mar 4, 2024
2 parents a8f8e44 + 5ce64a2 commit d552493
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions bibigrid/core/utility/validate_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,8 @@ def check_network(self):
f"Subnet '{subnet_name_or_id}' not found on {provider.cloud_specification['identifier']}")
success = False
else:
self.log.info(f"Subnet '{subnet_name_or_id}' found on {provider.cloud_specification['identifier']}")
else:
self.log.warning(f"Neither 'network' nor 'subnet' defined in configuration on "
f"{provider.cloud_specification['identifier']}.")
success = False
return success
self.log.info(f"Subnet '{subnet_name_or_id}' found")
return bool(success and (network_name_or_id or subnet_name_or_id))

def check_server_group(self):
"""
Expand Down

0 comments on commit d552493

Please sign in to comment.