Merge "downgrade 'No network configured!' to debug log level"
This commit is contained in:
@@ -298,7 +298,7 @@ class API(base_api.NetworkAPI):
|
|||||||
nets = self._get_available_networks(context, instance.project_id,
|
nets = self._get_available_networks(context, instance.project_id,
|
||||||
net_ids, neutron=neutron)
|
net_ids, neutron=neutron)
|
||||||
if not nets:
|
if not nets:
|
||||||
LOG.warning(_LW("No network configured!"), instance=instance)
|
LOG.debug("No network configured", instance=instance)
|
||||||
return network_model.NetworkInfo([])
|
return network_model.NetworkInfo([])
|
||||||
|
|
||||||
# if this function is directly called without a requested_network param
|
# if this function is directly called without a requested_network param
|
||||||
|
|||||||
Reference in New Issue
Block a user