Skip to content

Commit a26c788

Browse files
authored
Remove logging for unknown OVH locations
Removed logging warning for unknown OVH locations.
1 parent ef3df6d commit a26c788

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • libcloud/compute/drivers

libcloud/compute/drivers/ovh.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
from libcloud.compute.types import Provider, StorageVolumeState, VolumeSnapshotState
3030
from libcloud.compute.drivers.openstack import OpenStackKeyPair, OpenStackNodeDriver
3131

32-
from libcloud.libcloud.utils import logging
33-
34-
3532
class OvhNodeDriver(NodeDriver):
3633
"""
3734
Libcloud driver for the Ovh API
@@ -541,7 +538,6 @@ def _to_volumes(self, objs):
541538
def _to_location(self, obj):
542539
location = self.connectionCls.LOCATIONS.get(obj)
543540
if not location:
544-
logging.warning(f"Unknown location {obj} for OVH")
545541
location = {"id": obj, "name": obj, "country": ""}
546542

547543
return NodeLocation(driver=self, **location)

0 commit comments

Comments
 (0)