From 9c1d412dac3690966b48040bd8d5af00007a1f25 Mon Sep 17 00:00:00 2001 From: Mauren Berti Date: Sun, 24 Sep 2023 19:26:48 -0400 Subject: [PATCH] docs: update remove configmap comment Update the comment for the newCmdRemoveConfigMap function to explain what this function really does. The previous comment was referring to a different function. --- kustomize/commands/edit/remove/removeconfigmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kustomize/commands/edit/remove/removeconfigmap.go b/kustomize/commands/edit/remove/removeconfigmap.go index 437269be5..711951990 100644 --- a/kustomize/commands/edit/remove/removeconfigmap.go +++ b/kustomize/commands/edit/remove/removeconfigmap.go @@ -20,7 +20,7 @@ type removeConfigMapOptions struct { configMapNamesToRemove []string } -// newCmdRemoveResource remove the name of a file containing a resource to the kustomization file. +// newCmdRemoveConfigMap removes configMapGenerator(s) with the specified name(s). func newCmdRemoveConfigMap(fSys filesys.FileSystem) *cobra.Command { var o removeConfigMapOptions