Fixing typo in Glance API

Fixing typo in the comment of Glance API

Change-Id: I06f6520c46a83bd6e26cb066a21d950a848e3fb7
Closes-Bug: #1433729
This commit is contained in:
Yash Bathia 2015-03-18 11:37:49 -07:00
parent 294d18c2b0
commit 68291ecd97

View File

@ -197,7 +197,7 @@ def metadefs_namespace_get(request, namespace, resource_type=None, wrap=False):
namespace = glanceclient(request, '2').\
metadefs_namespace.get(namespace, resource_type=resource_type)
# There were problems with using the wrapper class in
# in nested json serialization. So sometimes, it is not desirable
# nested json serialization. So sometimes, it is not desirable
# to wrap.
if wrap:
return Namespace(namespace)