Skip to content

Commit

Permalink
remove unused variable.
Browse files Browse the repository at this point in the history
Signed-off-by: Volkan Ozcelik <[email protected]>
  • Loading branch information
v0lkan committed Jun 3, 2024
1 parent d0677f0 commit 5599e00
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/env/spiffeid.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
// prefix is used.
func SpiffeIdPrefixForSentinel() string {
p := os.Getenv("VSECM_SENTINEL_SPIFFEID_PREFIX")
t := SpiffeTrustDomain()

if strings.HasPrefix(p, "^") {
if !strings.HasPrefix(p, "^spiffe://") {
Expand Down

0 comments on commit 5599e00

Please sign in to comment.