Closed fl0yd closed 9 years ago
Thank you for contributing to stackforge/cloudbase-init!
stackforge/cloudbase-init uses Gerrit for code review.
Please visit http://wiki.openstack.org/GerritWorkflow and follow the instructions there to upload your change to Gerrit.
Using the previous method, only the last item after the last "/" was returned.
The get_content method prepends "openstack" + "/" + "content" + "/" to the path, so the subdirectory path and its contents should be passed in.
For example with the following JSON:
{ "uuid": "fake-UUID", "hostname": "fakehost", "network_config":{ "content_path": "/content/0000/network_config" } }
The updated method reads content from /openstack/content/0000/network_config rather than trying to read it from /openstack/content/network_config.
This change makes the directory structure more true to form.