chore: drop unused code

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-08-04 21:49:14 -04:00
1 parent 88cbae2a6d
commit b33cd266e7
1 file changed
-4
-4
View File
@@ -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 = ""