feat: implement more of the registry plugin

This commit is contained in:
Jose Diaz-Gonzalez
2021-03-19 16:50:32 -04:00
parent 3848b467a2
commit 88cbae2a6d
4 changed files with 49 additions and 11 deletions

View File

@@ -82,16 +82,7 @@ func reportPushOnRelease(appName string) string {
}
func reportComputedServer(appName string) string {
value := reportServer(appName)
if value == "" {
value = reportGlobalServer(appName)
}
if value == "" {
value = DefaultProperties["server"]
}
return value
return getRegistryServerForApp(appName)
}
func reportGlobalServer(appName string) string {