diff --git a/kusto/kcsb.go b/kusto/kcsb.go index 6c08cd93..064d4ec2 100644 --- a/kusto/kcsb.go +++ b/kusto/kcsb.go @@ -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