diff options
-rw-r--r-- | cloudinit/sources/DataSourceEc2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceEc2.py b/cloudinit/sources/DataSourceEc2.py index bb6d6fd7..c0b7ddd3 100644 --- a/cloudinit/sources/DataSourceEc2.py +++ b/cloudinit/sources/DataSourceEc2.py @@ -153,7 +153,7 @@ class DataSourceEc2(sources.DataSource): bdm = self.metadata['block-device-mapping'] if not isinstance(bdm, dict): LOG.debug("block-device-mapping not a dictionary: '%s'", bdm) - return None + return None for (entname, device) in bdm.items(): if entname == name: |