Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Mongey committed May 14, 2024
1 parent 6caa48c commit d0bc60b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions connect/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package connect

import (
"context"
"crypto/tls"
"crypto/tls"
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
Expand Down Expand Up @@ -44,6 +44,7 @@ func Provider() *schema.Provider {
Type: schema.TypeBool,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("KAFKA_CONNECT_TLS_IS_INSECURE", ""),
},
"headers": {
Type: schema.TypeMap,
Elem: &schema.Schema{
Expand Down Expand Up @@ -87,7 +88,7 @@ func providerConfigure(ctx context.Context, d *schema.ResourceData) (interface{}
if is_insecure {
c.SetInsecureSSL()
}
c.SetClientCertificates(cert)
c.SetClientCertificates(cert)
}
}
headers := d.Get("headers").(map[string]interface{})
Expand Down

0 comments on commit d0bc60b

Please sign in to comment.