Skip to content

Commit

Permalink
fix: Assign ClientOptions if provided (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
JorTurFer authored May 1, 2023
1 parent e877826 commit 778af97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kusto/kcsb.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func (kcsb *ConnectionStringBuilder) WithInteractiveLogin(authorityID string) *C
// Read more at https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore@v1.2.0/policy#ClientOptions
func (kcsb *ConnectionStringBuilder) AttachPolicyClientOptions(options *azcore.ClientOptions) *ConnectionStringBuilder {
requireNonEmpty(dataSource, kcsb.DataSource)
if options == nil {
if options != nil {
kcsb.ClientOptions = options
}
return kcsb
Expand Down

0 comments on commit 778af97

Please sign in to comment.