• NickrenREN's avatar
    fix nodeStatusUpdateRetry count exceeding condition judgement · 0b94834b
    NickrenREN authored
    When tryUpdateNodeStatus() return err,err!=nil,  but nc.kubeClient.Core().Nodes().Get() return no err, err==nil,
    And we run nodeStatusUpdateRetry times, when for loop ends, err == nil, we can not print error info and run continue, so the condition judgement is wrong.
    0b94834b
nodecontroller.go 36.2 KB