Skip to content

Commit

Permalink
Update pkg/eventshub/options.go
Browse files Browse the repository at this point in the history
Co-authored-by: Calum Murray <[email protected]>
  • Loading branch information
creydr and Cali0707 authored Aug 12, 2024
1 parent a0ae80a commit 94512cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eventshub/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func OIDCCorruptedSignature() EventsHubOption {
return compose(envOption(OIDCGenerateCorruptedSignatureTokenEnv, "true"), envOIDCEnabled())
}

// OIDCSubject sets the name of the OIDC subject to use by the sender. Defaults to "oidc-<eventshub-name>"
// OIDCSubject sets the name of the OIDC subject to use by the sender. If this option is not set, it defaults to "oidc-<eventshub-name>"
func OIDCSubject(sub string) EventsHubOption {
return compose(envOption(OIDCSubjectEnv, sub), envOIDCEnabled())
}
Expand Down

0 comments on commit 94512cd

Please sign in to comment.