chore: drop unused code

This commit is contained in:
Jose Diaz-Gonzalez
2021-07-13 11:30:54 -04:00
parent 88cbae2a6d
commit b33cd266e7

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 = ""