Skip to content

Commit

Permalink
Add logs upon ignoring disabled clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
hongkailiu authored and uroy-personal committed Oct 6, 2023
1 parent 4fea752 commit a278493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prow/kube/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ func LoadClusterConfigs(opts *Options) (map[string]rest.Config, error) {

for _, disabledCluster := range opts.disabledClusters.UnsortedList() {
delete(allKubeCfgs, disabledCluster)
logrus.WithField("disabledCluster", disabledCluster).Info("Removed kubeconfig for disabled cluster")
}

if opts.noInClusterConfig {
Expand Down

0 comments on commit a278493

Please sign in to comment.