diff options
| author | Scott Moser <smoser@ubuntu.com> | 2012-12-20 08:47:21 -0500 |
|---|---|---|
| committer | Scott Moser <smoser@ubuntu.com> | 2013-01-15 13:34:56 -0500 |
| commit | a0ae2e2fa0ba3c52f8eed4bbb97c5de20c2106cb (patch) | |
| tree | 4deb1b91b95bd8cc8b21879b78ba4d028edecc3a /bin/stack | |
| parent | 1db4b13d86d748d9619ea9ce37bb4663285468b5 (diff) | |
| download | nova-a0ae2e2fa0ba3c52f8eed4bbb97c5de20c2106cb.tar.gz nova-a0ae2e2fa0ba3c52f8eed4bbb97c5de20c2106cb.tar.xz nova-a0ae2e2fa0ba3c52f8eed4bbb97c5de20c2106cb.zip | |
minor improvements to nova/tests/test_metadata.py
There are 2 changes here:
a.) previously we checked for existance of 'user-data' in
a response, when it clearly would not have been there as
the key name is 'user_data'.
b.) Insist that top level keys in the openstack metadata do not have '-'.
This is just a consistency thing. Its very easy for someone to
unintentionally add a key named 'my-field'. We want to enforce
keys to be named consistently using '_' rather than -.
For reference, current keys are:
files uuid availability_zone hostname meta public_keys name
Change-Id: Ia73050c5313b3524dd1d341528cc5f916e603c64
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
