diff --git a/bibigrid/core/utility/validate_configuration.py b/bibigrid/core/utility/validate_configuration.py index 0da48d84..1bfb948c 100644 --- a/bibigrid/core/utility/validate_configuration.py +++ b/bibigrid/core/utility/validate_configuration.py @@ -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): """