mirror of
https://github.com/dokku/dokku.git
synced 2026-02-23 19:50:34 +01:00
chore: drop unused code
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user