From b8f05c04a784c0c461b424e90a8d970d20a30777 Mon Sep 17 00:00:00 2001 From: Karan Kumar Date: Wed, 21 Jul 2021 09:01:01 +0530 Subject: [PATCH] Updated 2 comments in common.go Fixed the comments for ProjectResourceTypes & ClusterResourceTypes --- cmd/common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/common.go b/cmd/common.go index 6a2d9d2c9..698be6cae 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -47,9 +47,9 @@ var ( errNoURL = errors.New("RANCHER_URL environment or --Url is not set, run `login`") // ManagementResourceTypes lists the types we use the management client for ManagementResourceTypes = []string{"cluster", "node", "project"} - // ProjectResourceTypes lists the types we use the cluster client for + // ProjectResourceTypes lists the types we use the project client for ProjectResourceTypes = []string{"secret", "namespacedSecret", "workload"} - // ClusterResourceTypes lists the types we use the project client for + // ClusterResourceTypes lists the types we use the cluster client for ClusterResourceTypes = []string{"persistentVolume", "storageClass", "namespace"} formatFlag = cli.StringFlag{