diff --git a/core/env/spiffeid.go b/core/env/spiffeid.go index b6d4d6d1..3e0cdd07 100644 --- a/core/env/spiffeid.go +++ b/core/env/spiffeid.go @@ -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://") {