Skip to content

Commit

Permalink
Merge pull request #685 from RedHatInsights/tweak_error_msg
Browse files Browse the repository at this point in the history
tweak secret store error to not pull in entire config
  • Loading branch information
abaiken authored Jan 31, 2024
2 parents 188f918 + 7e56dde commit 7b67cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/secret_store_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/RedHatInsights/sources-api-go/util"
)

var ErrBadSecretStore = fmt.Errorf("invalid secret-store: %s", config.Get().SecretStore)
var ErrBadSecretStore = fmt.Errorf("invalid secret-store, check the SECRET_STORE environment variable. needs to be one of [database, secrets-manager, vault]")

// fetches the secret-store dependent ID from the authentication
func (auth *Authentication) GetID() string {
Expand Down

0 comments on commit 7b67cf2

Please sign in to comment.