the changes introduced in this commit plumbs in the generic scaler into kubectl.

note that we don't change the behaviour of kubectl.
For example it won't scale new resources. That's the end goal.
The first step is to retrofit existing code to use the generic scaler.

Kubernetes-commit: dd9de90b0ad1aa78c2a8dd7d5238d8f769ffe771
This commit is contained in:
p0lyn0mial 2018-01-04 14:52:25 +01:00 committed by Kubernetes Publisher
parent b1fb949a8b
commit bd935b15f7

View File

@ -196,7 +196,6 @@ func (c *namespacedScaleClient) Update(resource schema.GroupResource, scale *aut
Body(scaleUpdateBytes).
Do()
if err := result.Error(); err != nil {
panic(err)
return nil, fmt.Errorf("could not update the scale for %s %s: %v", resource.String(), scale.Name, err)
}