mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Add missing error check
This commit is contained in:
parent
c1d2ac43ee
commit
4635f16dc1
@ -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 New Issue
Block a user