Skip to content

Commit

Permalink
PWX-32496: Changing help message and error message to json key file p…
Browse files Browse the repository at this point in the history
…ath for google accounts in clusterpair creation.
  • Loading branch information
diptiranjanpx committed Jul 27, 2023
1 parent 700abd3 commit 822ae74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/storkctl/clusterpair.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 822ae74

Please sign in to comment.