mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
check err
Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
This commit is contained in:
parent
20fa30e4b5
commit
32a3c1fe84
1 changed files with 3 additions and 0 deletions
|
|
@ -488,6 +488,9 @@ func (fdc *DeploymentController) reconcileDeployment(key string) (reconciliation
|
|||
return statusError, err
|
||||
}
|
||||
podStatus, err := podanalyzer.AnalysePods(fd.Spec.Selector, allPods, time.Now())
|
||||
if err != nil {
|
||||
return statusError, err
|
||||
}
|
||||
current := make(map[string]int64)
|
||||
estimatedCapacity := make(map[string]int64)
|
||||
for _, cluster := range clusters {
|
||||
|
|
|
|||
Loading…
Reference in a new issue