Skip to content

Commit 3e2ae63

Browse files
authored
Merge pull request kubernetes#90209 from ZP-AlwaysWin/dev
Repair description
2 parents c12aeb2 + 5796b7a commit 3e2ae63

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

pkg/kubelet/dockershim/docker_checkpoint.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ type CheckpointData struct {
6161
type PodSandboxCheckpoint struct {
6262
// Version of the pod sandbox checkpoint schema.
6363
Version string `json:"version"`
64-
// Pod name of the sandbox. Same as the pod name in the PodSpec.
64+
// Pod name of the sandbox. Same as the pod name in the Pod ObjectMeta.
6565
Name string `json:"name"`
66-
// Pod namespace of the sandbox. Same as the pod namespace in the PodSpec.
66+
// Pod namespace of the sandbox. Same as the pod namespace in the Pod ObjectMeta.
6767
Namespace string `json:"namespace"`
6868
// Data to checkpoint for pod sandbox.
6969
Data *CheckpointData `json:"data,omitempty"`

pkg/kubelet/kuberuntime/kuberuntime_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ func (m *kubeGenericRuntimeManager) SyncPod(pod *v1.Pod, podStatus *kubecontaine
718718
var msg string
719719
var err error
720720

721-
klog.V(4).Infof("Creating sandbox for pod %q", format.Pod(pod))
721+
klog.V(4).Infof("Creating PodSandbox for pod %q", format.Pod(pod))
722722
createSandboxResult := kubecontainer.NewSyncResult(kubecontainer.CreatePodSandbox, format.Pod(pod))
723723
result.AddSyncResult(createSandboxResult)
724724
podSandboxID, msg, err = m.createPodSandbox(pod, podContainerChanges.Attempt)

staging/src/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.pb.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ message LinuxPodSandboxConfig {
306306
// PodSandbox in its user interface for better user experience. For example,
307307
// the runtime can construct a unique PodSandboxName based on the metadata.
308308
message PodSandboxMetadata {
309-
// Pod name of the sandbox. Same as the pod name in the PodSpec.
309+
// Pod name of the sandbox. Same as the pod name in the Pod ObjectMeta.
310310
string name = 1;
311-
// Pod UID of the sandbox. Same as the pod UID in the PodSpec.
311+
// Pod UID of the sandbox. Same as the pod UID in the Pod ObjectMeta.
312312
string uid = 2;
313-
// Pod namespace of the sandbox. Same as the pod namespace in the PodSpec.
313+
// Pod namespace of the sandbox. Same as the pod namespace in the Pod ObjectMeta.
314314
string namespace = 3;
315315
// Attempt number of creating the sandbox. Default: 0.
316316
uint32 attempt = 4;

0 commit comments

Comments
 (0)