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

Commit a44ca41

Browse files
committed
namespaces
1 parent 40708ff commit a44ca41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker_registry/lib/layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def enqueue_diff(image_id):
3939
try:
4040
if cache.redis_conn:
4141
diff_queue.push(image_id)
42-
except redis.exceptions.ConnectionError as e:
42+
except cache.redis.exceptions.ConnectionError as e:
4343
logger.warning("Diff queue: Redis connection error: {0}".format(e))
4444

4545

docker_registry/lib/mirroring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def wrapper(namespace, repository, *args, **kwargs):
128128
cache.redis_conn.setex('{0}:{1}'.format(
129129
cache.cache_prefix, tag_path
130130
), tags_cache_ttl, data)
131-
except redis.exceptions.ConnectionError as e:
131+
except cache.redis.exceptions.ConnectionError as e:
132132
logger.warning("Diff queue: Redis connection error: {0}".format(
133133
e
134134
))

0 commit comments

Comments
 (0)