Fix a bug in the registry which tried to use a string as a repo object.

This commit is contained in:
yackob03 2013-11-18 12:12:35 -05:00
parent e787d8b2d8
commit 98a77299b8

View file

@ -191,7 +191,7 @@ def update_images(namespace, repository):
logger.debug('Setting checksum for image id: %s to %s' %
(image['id'], image['checksum']))
updated_tags[image['Tag']] = image['id']
model.set_image_checksum(image['id'], repository, image['checksum'])
model.set_image_checksum(image['id'], repo, image['checksum'])
# Generate a job for each webhook that has been added to this repo
webhooks = model.list_webhooks(namespace, repository)