diff options
author | David Calavera <david.calavera@gmail.com> | 2016-03-08 16:03:37 -0500 |
---|---|---|
committer | David Calavera <david.calavera@gmail.com> | 2016-03-10 11:53:11 -0500 |
commit | 59586d02b1cc004f14cd7ff6b454211f562da326 (patch) | |
tree | e4a00bd8424bb14bba07a17cf664228714c77d08 /registry/registry.go | |
parent | 5ded3a212b16087f836622e7dbfb584944e6e145 (diff) | |
download | docker-59586d02b1cc004f14cd7ff6b454211f562da326.tar.gz |
Move registry service options to the daemon configuration.
Allowing to set their values in the daemon configuration file.
Signed-off-by: David Calavera <david.calavera@gmail.com>
Diffstat (limited to 'registry/registry.go')
-rw-r--r-- | registry/registry.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/registry/registry.go b/registry/registry.go index 9071d9dc14..8fdfe3b0a4 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -11,7 +11,6 @@ import ( "net/http" "os" "path/filepath" - "runtime" "strings" "time" @@ -26,12 +25,6 @@ var ( ErrAlreadyExists = errors.New("Image already exists") ) -func init() { - if runtime.GOOS != "linux" { - V2Only = true - } -} - func newTLSConfig(hostname string, isSecure bool) (*tls.Config, error) { // PreferredServerCipherSuites should have no effect tlsConfig := tlsconfig.ServerDefault |