Adds an admin tool to Glance (bin/glance-admin) that allows
a user to administer the Glance server: * add images * update image metadata * delete images and metadata * delete all images (clear) * show an image * list public images * show detailed info on public images Adds documentation for the tool and cleans up a few issues that came up in initial testing.
This commit is contained in:
@@ -90,7 +90,8 @@ def delete_from_backend(uri, **kwargs):
|
||||
|
||||
backend_class = get_backend_class(scheme)
|
||||
|
||||
return backend_class.delete(parsed_uri, **kwargs)
|
||||
if hasattr(backend_class, 'delete'):
|
||||
return backend_class.delete(parsed_uri, **kwargs)
|
||||
|
||||
|
||||
def get_store_from_location(location):
|
||||
|
||||
Reference in New Issue
Block a user