Skip to content

Commit

Permalink
chore: Update log level to warn when in-cluster svr addr is disabled …
Browse files Browse the repository at this point in the history
…but internal addr is used (argoproj#14520)

Signed-off-by: Yuan Tang <[email protected]>
  • Loading branch information
terrytangyuan committed Jul 14, 2023
1 parent 9bf5e50 commit 4bd8b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/db/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (db *db) ListClusters(ctx context.Context) (*appv1.ClusterList, error) {
hasInClusterCredentials = true
clusterList.Items = append(clusterList.Items, *cluster)
} else {
log.Errorf("failed to add cluster %q to cluster list: in-cluster server address is disabled in Argo CD settings", cluster.Name)
log.Warnf("failed to add cluster %q to cluster list: in-cluster server address is disabled in Argo CD settings", cluster.Name)
}
} else {
clusterList.Items = append(clusterList.Items, *cluster)
Expand Down

0 comments on commit 4bd8b07

Please sign in to comment.