mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-29 18:29:19 -04:00
Add missing error check
This commit is contained in:
parent
c1d2ac43ee
commit
4635f16dc1
1 changed files with 3 additions and 0 deletions
|
|
@ -342,6 +342,9 @@ func (a *HorizontalController) reconcileKey(key string) (deleted bool, err error
|
|||
delete(a.recommendations, key)
|
||||
return true, nil
|
||||
}
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
|
||||
return false, a.reconcileAutoscaler(hpa, key)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue