Fix: Removed old test code

This commit is contained in:
Daniel Hougaard
2024-04-22 15:59:16 +02:00
parent 35071af478
commit 83107f56bb
5 changed files with 2 additions and 63 deletions

View File

@@ -119,7 +119,6 @@ var secretsCmd = &cobra.Command{
// convert secrets to the same order as the keys
secrets = util.SortSecretsByKeys(secrets)
util.HandleSendTestSecrets(cmd, secrets)
visualize.PrintAllSecretDetails(secrets)
Telemetry.CaptureEvent("cli-command:secrets", posthog.NewProperties().Set("secretCount", len(secrets)).Set("version", util.CLI_VERSION))
},
@@ -509,8 +508,6 @@ func getSecretsByNames(cmd *cobra.Command, args []string) {
}
}
util.HandleSendTestSecrets(cmd, requestedSecrets)
if showOnlyValue && len(requestedSecrets) > 1 {
util.PrintErrorMessageAndExit("--raw-value only works with one secret.")
}