Skip to content

Commit

Permalink
fix: changed asignment for k.NET
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Olafsen <[email protected]>
  • Loading branch information
krise86 committed Jun 28, 2022
1 parent c44b58b commit 0802888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner/sidecar/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ func kafkaFromSecret(k *dfv1.Kafka, secret *corev1.Secret) error {
k.NET = &dfv1.KafkaNET{}

if tls != nil {
k.NET = &dfv1.KafkaNET{TLS: tls}
k.NET.TLS = tls
}
if sasl != nil {
k.NET = &dfv1.KafkaNET{SASL: sasl}
k.NET.SASL = sasl
}
return nil
}
Expand Down

0 comments on commit 0802888

Please sign in to comment.