Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Mar 12, 2023
1 parent cfaa349 commit 9af125a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autopilot/task.update.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (r *AzureK8sAutopilot) updateRun(contextLogger *log.Entry) {
}

// find update candidates
candidateList := r.updateCollectCandiates(contextLogger, nodeList)
candidateList := r.updateCollectCandidates(contextLogger, nodeList)
contextLogger.Infof("found %v nodes (%v upgradable)", len(nodeList), len(candidateList))
r.prometheus.general.candidateNodes.WithLabelValues("update").Set(float64(len(candidateList)))

Expand Down Expand Up @@ -74,7 +74,7 @@ func (r *AzureK8sAutopilot) updateRun(contextLogger *log.Entry) {
}
}

func (r *AzureK8sAutopilot) updateCollectCandiates(contextLogger *log.Entry, nodeList []*k8s.Node) (candidateList []*k8s.Node) {
func (r *AzureK8sAutopilot) updateCollectCandidates(contextLogger *log.Entry, nodeList []*k8s.Node) (candidateList []*k8s.Node) {
candidateList = []*k8s.Node{}

// check if there are ongoing updates (eg. operator was killed while doing updates)
Expand Down

0 comments on commit 9af125a

Please sign in to comment.