From 822ae746246d47214e3103a8b5e9914ce7345797 Mon Sep 17 00:00:00 2001 From: diptiranjan Date: Thu, 27 Jul 2023 08:01:48 +0530 Subject: [PATCH] PWX-32496: Changing help message and error message to json key file path for google accounts in clusterpair creation. --- pkg/storkctl/clusterpair.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/storkctl/clusterpair.go b/pkg/storkctl/clusterpair.go index 8f2a7bddfb..0a01714137 100644 --- a/pkg/storkctl/clusterpair.go +++ b/pkg/storkctl/clusterpair.go @@ -412,7 +412,7 @@ func newCreateClusterPairCommand(cmdFactory Factory, ioStreams genericclioptions return } if len(googleJSONKey) == 0 { - util.CheckErr(getMissingParameterError("google-key-file-path", "Json key file missing for Google")) + util.CheckErr(getMissingParameterError("google-key-file-path", "Json key file path missing for Google")) return } // Read the jsonkey file @@ -623,7 +623,7 @@ func newCreateClusterPairCommand(cmdFactory Factory, ioStreams genericclioptions createClusterPairCommand.Flags().StringVar(&azureAccountKey, "azure-account-key", "", "Account key for Azure") // Google createClusterPairCommand.Flags().StringVar(&googleProjectID, "google-project-id", "", "Project ID for Google") - createClusterPairCommand.Flags().StringVar(&googleJSONKey, "google-key-file-path", "", "Json key for Google") + createClusterPairCommand.Flags().StringVar(&googleJSONKey, "google-key-file-path", "", "Json key file path for Google") return createClusterPairCommand }