fix typo in client-go

Kubernetes-commit: 86801dee64215e76080fe8df83ffd1fb7df9e093
This commit is contained in:
halfcrazy
2018-02-01 02:33:45 +08:00
committed by Kubernetes Publisher
parent 63d0eb0002
commit b6a34c5a00
10 changed files with 10 additions and 10 deletions

View File

@@ -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)

View File

@@ -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) {

View File

@@ -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

View File

@@ -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