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

Commit c64363a

Browse files
author
Mariano Sorgente
committed
Update boto.py
There was an error where the wrong variable name was being used when loading the config variables. The storage object was trying to load the boto_secure file, which didn't exist since it was called s3_secure. Therefore the registry was never using HTTPS with s3.
1 parent 9124375 commit c64363a

File tree

1 file changed

+1
-1
lines changed
  • depends/docker-registry-core/docker_registry/core

1 file changed

+1
-1
lines changed

depends/docker-registry-core/docker_registry/core/boto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __init__(self, path=None, config=None):
136136
logger.info("Boto based storage initialized")
137137

138138
def _build_connection_params(self):
139-
kwargs = {'is_secure': (self._config.boto_secure is True)}
139+
kwargs = {'is_secure': (self._config.s3_secure is True)}
140140
config_args = [
141141
'host', 'port', 'debug',
142142
'proxy', 'proxy_port',

0 commit comments

Comments
 (0)