From 98a77299b8a2767ed3accc629d480c795aee74e8 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Mon, 18 Nov 2013 12:12:35 -0500 Subject: [PATCH] Fix a bug in the registry which tried to use a string as a repo object. --- endpoints/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/index.py b/endpoints/index.py index 1fa05197a..207ace697 100644 --- a/endpoints/index.py +++ b/endpoints/index.py @@ -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)