From 23adf46008aaef329375d5bbfbc9568dc6494a5b Mon Sep 17 00:00:00 2001 From: Guangwen Feng Date: Fri, 25 Dec 2020 13:58:13 +0800 Subject: [PATCH] Fix typo in comment Signed-off-by: Guangwen Feng --- staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go b/staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go index 5d323c38f3e..e041c5c4114 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go @@ -652,7 +652,7 @@ func (o *ApplyOptions) MarkNamespaceVisited(info *resource.Info) { } } -// MarkNamespaceVisited keeps track of UIDs of the applied +// MarkObjectVisited keeps track of UIDs of the applied // objects. Used for pruning. func (o *ApplyOptions) MarkObjectVisited(info *resource.Info) error { metadata, err := meta.Accessor(info.Object) @@ -663,7 +663,7 @@ func (o *ApplyOptions) MarkObjectVisited(info *resource.Info) error { return nil } -// PrintAndPrune returns a function which meets the PostProcessorFn +// PrintAndPrunePostProcessor returns a function which meets the PostProcessorFn // function signature. This returned function prints all the // objects as a list (if configured for that), and prunes the // objects not applied. The returned function is the standard