diff options
author | Chad Smith <chad.smith@canonical.com> | 2018-10-10 21:04:43 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2018-10-10 21:04:43 +0000 |
commit | 4652b196e04b68d7c335e64766e3a0140157417c (patch) | |
tree | fdbcbed864920f831484a940fae32e5d69c6ba23 | |
parent | 9f88125a25338b70b53a2f5b0af59499f334f261 (diff) | |
download | vyos-cloud-init-4652b196e04b68d7c335e64766e3a0140157417c.tar.gz vyos-cloud-init-4652b196e04b68d7c335e64766e3a0140157417c.zip |
tests: meta_data key changed to meta-data in ec2 instance-data.json
LP: #1797231
-rw-r--r-- | tests/cloud_tests/testcases/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cloud_tests/testcases/base.py b/tests/cloud_tests/testcases/base.py index bbd80ae1..fd12d87b 100644 --- a/tests/cloud_tests/testcases/base.py +++ b/tests/cloud_tests/testcases/base.py @@ -177,7 +177,7 @@ class CloudTestCase(unittest2.TestCase): instance_data['base64_encoded_keys']) ds = instance_data.get('ds', {}) v1_data = instance_data.get('v1', {}) - metadata = ds.get('meta_data', {}) + metadata = ds.get('meta-data', {}) macs = metadata.get( 'network', {}).get('interfaces', {}).get('macs', {}) if not macs: |