Skip to content

Commit

Permalink
Client authentication manifest and create intial password
Browse files Browse the repository at this point in the history
Signed-off-by: May Zhang <may_zhang@intuit.com>
  • Loading branch information
mayzhang2000 committed Apr 17, 2024
1 parent ea50545 commit 5d62005
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/argocd/commands/admin/redis_initial_password.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ func NewRedisInitialPasswordCommand() *cobra.Command {
if initialPass, ok := secret.Data[redisInitialPasswordKey]; ok {
fmt.Printf("password = %s \n", string(initialPass))
} else {
fmt.Errorf("key %s doesn't exist in secret %s \n", redisInitialPasswordKey, redisInitialPasswordSecretName)
err := fmt.Errorf("key %s doesn't exist in secret %s \n", redisInitialPasswordKey, redisInitialPasswordSecretName)
errors.CheckError(err)
}
},
}
Expand Down

0 comments on commit 5d62005

Please sign in to comment.