diff --git a/plugins/registry/functions.go b/plugins/registry/functions.go index c3495f109..279fc8e2c 100644 --- a/plugins/registry/functions.go +++ b/plugins/registry/functions.go @@ -14,10 +14,6 @@ func getRegistryServerForApp(appName string) string { value = common.PropertyGet("registry", "--global", "server") } - if value == "" { - value = DefaultProperties["server"] - } - value = strings.TrimSuffix(value, "/") + "/" if value == "hub.docker.com/" || value == "docker.io/" { value = ""