From 5a44cd65fd9687410003a5933203f01ff9299ea1 Mon Sep 17 00:00:00 2001 From: drfish Date: Fri, 10 Jan 2020 21:35:06 +0800 Subject: [PATCH] Fix typo from reseting to resetting --- .../k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go | 4 ++-- .../k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.proto | 2 +- test/e2e/autoscaling/cluster_size_autoscaling.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go b/staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go index bef0086cc23..324d331ea4c 100644 --- a/staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go +++ b/staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go @@ -1033,7 +1033,7 @@ type DevicePluginClient interface { Allocate(ctx context.Context, in *AllocateRequest, opts ...grpc.CallOption) (*AllocateResponse, error) // PreStartContainer is called, if indicated by Device Plugin during registeration phase, // before each container start. Device plugin can run device specific operations - // such as reseting the device before making devices available to the container + // such as resetting the device before making devices available to the container PreStartContainer(ctx context.Context, in *PreStartContainerRequest, opts ...grpc.CallOption) (*PreStartContainerResponse, error) } @@ -1119,7 +1119,7 @@ type DevicePluginServer interface { Allocate(context.Context, *AllocateRequest) (*AllocateResponse, error) // PreStartContainer is called, if indicated by Device Plugin during registeration phase, // before each container start. Device plugin can run device specific operations - // such as reseting the device before making devices available to the container + // such as resetting the device before making devices available to the container PreStartContainer(context.Context, *PreStartContainerRequest) (*PreStartContainerResponse, error) } diff --git a/staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.proto b/staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.proto index 71811894837..c7e676e4788 100644 --- a/staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.proto +++ b/staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.proto @@ -62,7 +62,7 @@ service DevicePlugin { // PreStartContainer is called, if indicated by Device Plugin during registeration phase, // before each container start. Device plugin can run device specific operations - // such as reseting the device before making devices available to the container + // such as resetting the device before making devices available to the container rpc PreStartContainer(PreStartContainerRequest) returns (PreStartContainerResponse) {} } diff --git a/test/e2e/autoscaling/cluster_size_autoscaling.go b/test/e2e/autoscaling/cluster_size_autoscaling.go index 18f0454e2eb..40dd408d702 100644 --- a/test/e2e/autoscaling/cluster_size_autoscaling.go +++ b/test/e2e/autoscaling/cluster_size_autoscaling.go @@ -657,7 +657,7 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() { ReserveMemory(f, "memory-reservation", extraPods, totalMemoryReservation, false, defaultTimeout) // Apparently GKE master is restarted couple minutes after the node pool is added - // reseting all the timers in scale down code. Adding 5 extra minutes to workaround + // resetting all the timers in scale down code. Adding 5 extra minutes to workaround // this issue. // TODO: Remove the extra time when GKE restart is fixed. framework.ExpectNoError(e2enode.WaitForReadyNodes(c, nodeCount+extraNodes+1, scaleUpTimeout+5*time.Minute)) @@ -708,7 +708,7 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() { ginkgo.By("Some node should be removed") // Apparently GKE master is restarted couple minutes after the node pool is added - // reseting all the timers in scale down code. Adding 10 extra minutes to workaround + // resetting all the timers in scale down code. Adding 10 extra minutes to workaround // this issue. // TODO: Remove the extra time when GKE restart is fixed. framework.ExpectNoError(WaitForClusterSizeFunc(f.ClientSet,