Skip to content

Commit

Permalink
Merge pull request #536 from mjura/v2.9-tags
Browse files Browse the repository at this point in the history
[v2.9] Update log message when tags are not updated
  • Loading branch information
mjura authored Jun 10, 2024
2 parents 1ddab71 + 38140ff commit 5b4bb96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/aks-cluster-config-handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ func (h *Handler) updateUpstreamClusterState(ctx context.Context, config *aksv1.
}

if !reflect.DeepEqual(tags, res.Tags) {
logrus.Infof("Tags were not updated as expected for cluster [%s], expected %s, actual %s, moving on", config.Spec.ClusterName, aks.StringMap(tags.Tags), aks.StringMap(res.Tags))
logrus.Infof("Tags were not updated for cluster [%s], config %s, upstream %s, moving on", config.Spec.ClusterName, aks.StringMap(tags.Tags), aks.StringMap(res.Tags))
} else {
return h.enqueueUpdate(config)
}
Expand Down

0 comments on commit 5b4bb96

Please sign in to comment.