Actually delete the image data when deleting the tag.

This commit is contained in:
yackob03 2014-01-09 17:13:26 -05:00
parent b584d74bf0
commit 518cd1be85
4 changed files with 19 additions and 14 deletions

View file

@ -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)