Skip to content

Commit de59ede

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request kubernetes#37784 from bruceauyeung/k8s-branch-fix-glog-message-typo
Automatic merge from submit-queue fix glog message typo about init deserialization cache and watch cache **What this PR does / why we need it**: fix typo `Initalizing` to `Initializing` Signed-off-by: bruceauyeung <[email protected]>
2 parents 52c0768 + 84fd2f2 commit de59ede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/kube-apiserver/app/server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func Run(s *options.ServerRunOptions) error {
163163
if s.Etcd.StorageConfig.DeserializationCacheSize == 0 {
164164
// When size of cache is not explicitly set, estimate its size based on
165165
// target memory usage.
166-
glog.V(2).Infof("Initalizing deserialization cache size based on %dMB limit", s.GenericServerRunOptions.TargetRAMMB)
166+
glog.V(2).Infof("Initializing deserialization cache size based on %dMB limit", s.GenericServerRunOptions.TargetRAMMB)
167167

168168
// This is the heuristics that from memory capacity is trying to infer
169169
// the maximum number of nodes in the cluster and set cache sizes based
@@ -321,7 +321,7 @@ func Run(s *options.ServerRunOptions) error {
321321
}
322322

323323
if s.GenericServerRunOptions.EnableWatchCache {
324-
glog.V(2).Infof("Initalizing cache sizes based on %dMB limit", s.GenericServerRunOptions.TargetRAMMB)
324+
glog.V(2).Infof("Initializing cache sizes based on %dMB limit", s.GenericServerRunOptions.TargetRAMMB)
325325
cachesize.InitializeWatchCacheSizes(s.GenericServerRunOptions.TargetRAMMB)
326326
cachesize.SetWatchCacheSizes(s.GenericServerRunOptions.WatchCacheSizes)
327327
}

0 commit comments

Comments
 (0)