Skip to content

Commit

Permalink
PANDARIA: Delete useless logs
Browse files Browse the repository at this point in the history
  • Loading branch information
smallteeths committed Mar 10, 2023
1 parent 8ea73ac commit 5534e78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controller/ack-cluster-config-handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ func (h *Handler) checkAndUpdate(config *ackv1.ACKClusterConfig) (*ackv1.ACKClus
}
for _, np := range nodePoolsInfo.Nodepools {
status := *np.Status.State
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 5534e78

Please sign in to comment.