Fix a bug in the registry which tried to use a string as a repo object.
This commit is contained in:
parent
e787d8b2d8
commit
98a77299b8
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ def update_images(namespace, repository):
|
||||||
logger.debug('Setting checksum for image id: %s to %s' %
|
logger.debug('Setting checksum for image id: %s to %s' %
|
||||||
(image['id'], image['checksum']))
|
(image['id'], image['checksum']))
|
||||||
updated_tags[image['Tag']] = image['id']
|
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
|
# Generate a job for each webhook that has been added to this repo
|
||||||
webhooks = model.list_webhooks(namespace, repository)
|
webhooks = model.list_webhooks(namespace, repository)
|
||||||
|
|
Reference in a new issue