Actually delete the image data when deleting the tag.
This commit is contained in:
parent
b584d74bf0
commit
518cd1be85
4 changed files with 19 additions and 14 deletions
|
@ -34,6 +34,10 @@ class Storage(object):
|
|||
namespace,
|
||||
repository)
|
||||
|
||||
def image_path(self, namespace, repository, image_id):
|
||||
return '{0}/{1}/{2}/{3}/'.format(self.images, namespace, repository,
|
||||
image_id)
|
||||
|
||||
def image_json_path(self, namespace, repository, image_id):
|
||||
return '{0}/{1}/{2}/{3}/json'.format(self.images, namespace,
|
||||
repository, image_id)
|
||||
|
|
Reference in a new issue