From 005f8c49260e221db67865d8c77313c5e8525d9f Mon Sep 17 00:00:00 2001 From: hangaoshuai Date: Thu, 18 Jan 2018 17:07:51 +0800 Subject: [PATCH] fix some typos in comments --- pkg/kubelet/cm/cpumanager/cpu_assignment.go | 2 +- pkg/kubelet/container/container_gc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/cm/cpumanager/cpu_assignment.go b/pkg/kubelet/cm/cpumanager/cpu_assignment.go index a4de3b5ec89..3f5f33bafed 100644 --- a/pkg/kubelet/cm/cpumanager/cpu_assignment.go +++ b/pkg/kubelet/cm/cpumanager/cpu_assignment.go @@ -86,7 +86,7 @@ func (a *cpuAccumulator) freeCores() []int { // Returns CPU IDs as a slice sorted by: // - socket affinity with result -// - number of CPUs available on the same sockett +// - number of CPUs available on the same socket // - number of CPUs available on the same core // - socket ID. // - core ID. diff --git a/pkg/kubelet/container/container_gc.go b/pkg/kubelet/container/container_gc.go index be2fac4b996..243a592cf81 100644 --- a/pkg/kubelet/container/container_gc.go +++ b/pkg/kubelet/container/container_gc.go @@ -58,7 +58,7 @@ type realContainerGC struct { // Policy for garbage collection. policy ContainerGCPolicy - // sourcesReadyProvider provides the readyness of kubelet configuration sources. + // sourcesReadyProvider provides the readiness of kubelet configuration sources. sourcesReadyProvider SourcesReadyProvider }