Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 29a0874

Browse files
committed
Bugfix
1 parent a95c000 commit 29a0874

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker_registry/lib/layers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@
3535
diff_queue = rqueue.CappedCollection(cache.redis_conn, "diff-worker", 1024)
3636

3737

38-
3938
def enqueue_diff(image_id):
4039
try:
4140
if cache.redis_conn:
42-
layers.diff_queue.push(image_id)
41+
diff_queue.push(image_id)
4342
except cache.redis.exceptions.ConnectionError:
4443
logger.warning('Diff queue: Redis connection error')
4544

0 commit comments

Comments
 (0)