Skip to content

Commit

Permalink
Pandaria: Simplifying the log
Browse files Browse the repository at this point in the history
  • Loading branch information
smallteeths committed Oct 24, 2022
1 parent bbb435b commit 6947893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/ack-cluster-config-handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (h *Handler) checkAndUpdate(config *ackv1.ACKClusterConfig) (*ackv1.ACKClus
}
for _, np := range nodePoolsInfo.Nodepools {
status := *np.Status.State
logrus.Infof("nodepool state [%s] np %+v", status, np)
logrus.Infof("nodepool state [%s] np name %s", status, np.NodepoolInfo.Name)
if status == ack.NodePoolStatusScaling || status == ack.NodePoolStatusDeleting || status == ack.NodePoolStatusInitial || status == ack.NodePoolStatusUpdating || status == ack.NodePoolStatusRemoving {
if config.Status.Phase != ackConfigUpdatingPhase {
config = config.DeepCopy()
Expand Down

0 comments on commit 6947893

Please sign in to comment.