Skip to content

Commit

Permalink
static-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaaaaaalex committed Jun 14, 2024
1 parent 21ca5c2 commit 35fb465
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions felix/bpf/proxy/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ func EndpointInfoOptZoneHints(b sets.Set[string]) EndpoiontInfoOpt {
}

// NewEndpointInfo creates a new endpointInfo, returning it as a k8s proxy Endpoint.
func NewEndpointInfo(ip string, port int, opts... EndpoiontInfoOpt) k8sp.Endpoint {
func NewEndpointInfo(ip string, port int, opts ...EndpoiontInfoOpt) k8sp.Endpoint {
ep := &endpointInfo{
ip: ip,
port: port,
endpoint: net.JoinHostPort(ip, strconv.Itoa(port)),
ip: ip,
port: port,
endpoint: net.JoinHostPort(ip, strconv.Itoa(port)),
}

for _, opt := range opts {
Expand Down

0 comments on commit 35fb465

Please sign in to comment.