Skip to content

Commit

Permalink
Merge pull request #114357 from dengyufeng2206/1208pull
Browse files Browse the repository at this point in the history
Log spelling formatting
  • Loading branch information
k8s-ci-robot committed Mar 10, 2023
2 parents 37260b7 + 8525cfa commit f6564d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/kubelet/cm/container_manager_linux.go
Expand Up @@ -710,7 +710,7 @@ func buildContainerMapFromRuntime(ctx context.Context, runtimeService internalap
containerList, _ := runtimeService.ListContainers(ctx, nil)
for _, c := range containerList {
if _, exists := podSandboxMap[c.PodSandboxId]; !exists {
klog.InfoS("no PodSandBox found for the container", "podSandboxId", c.PodSandboxId, "containerName", c.Metadata.Name, "containerId", c.Id)
klog.InfoS("No PodSandBox found for the container", "podSandboxId", c.PodSandboxId, "containerName", c.Metadata.Name, "containerId", c.Id)
continue
}
containerMap.Add(podSandboxMap[c.PodSandboxId], c.Metadata.Name, c.Id)
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubemark/hollow_proxy.go
Expand Up @@ -82,7 +82,7 @@ func NewHollowProxyOrDie(
if useRealProxier {
nodeIP := utilnode.GetNodeIP(client, nodeName)
if nodeIP == nil {
klog.InfoS("can't determine this node's IP, assuming 127.0.0.1")
klog.InfoS("Can't determine this node's IP, assuming 127.0.0.1")
nodeIP = netutils.ParseIPSloppy("127.0.0.1")
}
family := v1.IPv4Protocol
Expand Down
Expand Up @@ -376,7 +376,7 @@ func (a *Admission) ValidatePod(ctx context.Context, attrs api.Attributes) *admi
}
oldPod, ok := oldObj.(*corev1.Pod)
if !ok {
klog.InfoS("failed to assert old pod type", "type", reflect.TypeOf(oldObj))
klog.InfoS("Failed to assert old pod type", "type", reflect.TypeOf(oldObj))
a.Metrics.RecordError(true, attrs)
return errorResponse(nil, &apierrors.NewBadRequest("failed to decode old pod").ErrStatus)
}
Expand Down

0 comments on commit f6564d3

Please sign in to comment.