Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
savnadya committed Jan 19, 2025
1 parent 812b05c commit 4b45017
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/components/kafka_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package components
import (
"context"

"k8s.io/utils/pointer"
"k8s.io/utils/ptr"

corev1 "k8s.io/api/core/v1"
Expand Down Expand Up @@ -59,7 +58,7 @@ func NewKafkaProxy(cfgen *ytconfig.Generator, ytsaurus *apiproxy.Ytsaurus, maste
cfgen.GetKafkaProxiesServiceName(spec.Role),
l,
ytsaurus.APIProxy())
balancingService.SetPort(pointer.Int32(consts.KafkaProxyKafkaPort))
balancingService.SetPort(ptr.To(int32(consts.KafkaProxyKafkaPort)))
}

return &KafkaProxy{
Expand Down

0 comments on commit 4b45017

Please sign in to comment.