[client] Fix wrong URL being logged for DefaultAdminURL (#5252)

- DefaultManagementURL was being logged instead of DefaultAdminURL
This commit is contained in:
eyJhb
2026-02-06 11:23:36 +01:00
committed by GitHub
parent 0119f3e9f4
commit c3f176f348

View File

@@ -252,7 +252,7 @@ func (config *Config) apply(input ConfigInput) (updated bool, err error) {
}
if config.AdminURL == nil {
log.Infof("using default Admin URL %s", DefaultManagementURL)
log.Infof("using default Admin URL %s", DefaultAdminURL)
config.AdminURL, err = parseURL("Admin URL", DefaultAdminURL)
if err != nil {
return false, err