Skip to content

Commit 29f587d

Browse files
clnvCopilot
andauthored
Update sdk/azidentity/workload_identity.go
Co-authored-by: Copilot <[email protected]>
1 parent 8bb585c commit 29f587d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/azidentity/workload_identity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func NewWorkloadIdentityCredential(options *WorkloadIdentityCredentialOptions) (
102102
file := options.TokenFilePath
103103
if file == "" && options.GetFederatedToken == nil {
104104
if file, ok = os.LookupEnv(azureFederatedTokenFile); !ok {
105-
return nil, errors.New("no token file specified. Check pod configuration or set TokenFilePath or GetFederatedToken in the options")
105+
return nil, errors.New("no token source specified. Check pod configuration or set GetFederatedToken or TokenFilePath in the options")
106106
}
107107
}
108108
tenantID := options.TenantID

0 commit comments

Comments
 (0)