diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-20 23:59:24 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-20 23:59:24 -0700 |
commit | f7e638f6f58188cd4be1921cb045608f3c00d9c4 (patch) | |
tree | af0802d312139d8b20681ecbe1f3c25383064371 /tools | |
parent | d8f49316e20cd11885f2ee5cfb9ad0ac7cf336c6 (diff) | |
download | vyos-cloud-init-f7e638f6f58188cd4be1921cb045608f3c00d9c4.tar.gz vyos-cloud-init-f7e638f6f58188cd4be1921cb045608f3c00d9c4.zip |
Return a empty json map as default instead of an empty string for unknown fields
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mock-meta.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mock-meta.py b/tools/mock-meta.py index 019a24f2..d4677af6 100755 --- a/tools/mock-meta.py +++ b/tools/mock-meta.py @@ -181,7 +181,7 @@ class MetaDataHandler(object): else: return "%s" % (PLACEMENT_CAPABILITIES.get(pentry, '')) else: - return '' + return '{}' class UserDataHandler(object): |