mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-18 08:09:40 +00:00
fix typo in client-go
Kubernetes-commit: 86801dee64215e76080fe8df83ffd1fb7df9e093
This commit is contained in:
committed by
Kubernetes Publisher
parent
63d0eb0002
commit
b6a34c5a00
@@ -168,7 +168,7 @@ func (c *namespacedScaleClient) Update(resource schema.GroupResource, scale *aut
|
||||
|
||||
// Currently, a /scale endpoint can receive and return different scale types.
|
||||
// Until we have support for the alternative API representations proposal,
|
||||
// we need to deal with sending and accepting differnet API versions.
|
||||
// we need to deal with sending and accepting different API versions.
|
||||
|
||||
// figure out what scale we actually need here
|
||||
desiredGVK, err := c.client.scaleKindResolver.ScaleForResource(gvr)
|
||||
|
@@ -23,7 +23,7 @@ import (
|
||||
)
|
||||
|
||||
// NB: this can't be in the scheme package, because importing'
|
||||
// scheme/autoscalingv1 from scheme causes a depedency loop from
|
||||
// scheme/autoscalingv1 from scheme causes a dependency loop from
|
||||
// conversions
|
||||
|
||||
func TestRoundTrip(t *testing.T) {
|
||||
|
@@ -17,6 +17,6 @@ limitations under the License.
|
||||
// Package appsint contains the necessary scaffolding of the
|
||||
// internal version of extensions as required by conversion logic.
|
||||
// It doesn't have any of its own types -- it's just necessary to
|
||||
// get the expected behavoir out of runtime.Scheme.ConvertToVersion
|
||||
// get the expected behavior out of runtime.Scheme.ConvertToVersion
|
||||
// and associated methods.
|
||||
package appsint
|
||||
|
@@ -17,6 +17,6 @@ limitations under the License.
|
||||
// Package extensionsint contains the necessary scaffolding of the
|
||||
// internal version of extensions as required by conversion logic.
|
||||
// It doesn't have any of its own types -- it's just necessary to
|
||||
// get the expected behavoir out of runtime.Scheme.ConvertToVersion
|
||||
// get the expected behavior out of runtime.Scheme.ConvertToVersion
|
||||
// and associated methods.
|
||||
package extensionsint
|
||||
|
Reference in New Issue
Block a user