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.
This commit is contained in:
Mauren Berti
2023-09-24 19:26:48 -04:00
parent e3b9afcfaa
commit 9c1d412dac

View File

@@ -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