From b33cd266e70f80b3201f5184b78704a34f5052ce Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 13 Jul 2021 11:30:54 -0400 Subject: [PATCH] chore: drop unused code --- plugins/registry/functions.go | 4 ---- 1 file changed, 4 deletions(-) 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 = ""