From 3a29947916b13bff457b17813c762965f9c32dc4 Mon Sep 17 00:00:00 2001 From: Kirat Singh Date: Tue, 19 May 2015 22:50:19 -0400 Subject: [PATCH] set validate=False when calling get_bucket. This allows us to use a bucket where we don't have permission to list the root, but that's ok if a path with appropriate permissions is specified --- depends/docker-registry-core/docker_registry/core/boto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depends/docker-registry-core/docker_registry/core/boto.py b/depends/docker-registry-core/docker_registry/core/boto.py index 42f17bf76..8def5aef7 100644 --- a/depends/docker-registry-core/docker_registry/core/boto.py +++ b/depends/docker-registry-core/docker_registry/core/boto.py @@ -131,7 +131,7 @@ def __init__(self, path=None, config=None): self._root_path = path or '/test' self._boto_conn = self.makeConnection() self._boto_bucket = self._boto_conn.get_bucket( - self._config.boto_bucket) + self._config.boto_bucket, validate=False) logger.info("Boto based storage initialized") def _build_connection_params(self):