Remove namespace from app URL (#334)

This commit is contained in:
Andrew Merenbach 2018-06-28 13:57:52 -07:00 committed by GitHub
parent 279b01a180
commit e58bdab492
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,7 +238,7 @@ func appURL(acdClient argocdclient.Client, app *argoappv1.Application) string {
server = server[0 : len(server)-4]
}
}
return fmt.Sprintf("%s://%s/applications/%s/%s", scheme, server, app.Namespace, app.Name)
return fmt.Sprintf("%s://%s/applications/%s", scheme, server, app.Name)
}
func truncateString(str string, num int) string {