summaryrefslogtreecommitdiff
path: root/cloudinit/ec2_utils.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-01-10 17:38:54 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-01-10 17:38:54 -0800
commit3e5e7f563837685aeabc2fc67dd6cbb9fc619b0a (patch)
tree9ff314056228cea88a3925ed298fd033e0d67c42 /cloudinit/ec2_utils.py
parent6f8c1d62e406675ad8524ce4fa97eac958d42238 (diff)
downloadvyos-cloud-init-3e5e7f563837685aeabc2fc67dd6cbb9fc619b0a.tar.gz
vyos-cloud-init-3e5e7f563837685aeabc2fc67dd6cbb9fc619b0a.zip
Updated non-json message
Diffstat (limited to 'cloudinit/ec2_utils.py')
-rw-r--r--cloudinit/ec2_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/ec2_utils.py b/cloudinit/ec2_utils.py
index 1fd674bb..c86623bc 100644
--- a/cloudinit/ec2_utils.py
+++ b/cloudinit/ec2_utils.py
@@ -111,8 +111,8 @@ class MetadataMaterializer(object):
# Assume it's json, unless it fails parsing...
return json.loads(blob)
except (ValueError, TypeError) as e:
- LOG.warn("Field %s looked like json, but it was not: %s",
- field, e)
+ LOG.warn("Field %s looked like a json object, but it was"
+ " not: %s", field, e)
if blob.find("\n") != -1:
return blob.splitlines()
return blob