Skip to content

Commit 6d88c57

Browse files
committed
- address check-fmt error
Signed-off-by: greeshma1196 <greeshma.mathew@gmail.com>
1 parent 6d50253 commit 6d88c57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dataclients/kubernetes/clusterstate.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ func (state *clusterState) GetEndpointsByService(namespace, name, protocol strin
6666

6767
var targets []string
6868
var ep *endpoint
69-
ep, ok := state.endpoints[epID.ResourceID]
69+
ep, ok := state.endpoints[epID.ResourceID]
7070
if !ok {
7171
return nil
7272
}
7373

7474
targets = ep.targetsByServicePort(protocol, servicePort)
75-
75+
7676
sort.Strings(targets)
7777
state.cachedEndpoints[epID] = targets
7878
return targets
@@ -158,7 +158,7 @@ func (state *clusterState) GetEndpointsByTarget(namespace, name, protocol, schem
158158

159159
var targets []string
160160
var ep *endpoint
161-
ep, ok := state.endpoints[epID.ResourceID]
161+
ep, ok := state.endpoints[epID.ResourceID]
162162
if !ok {
163163
return nil
164164
}

0 commit comments

Comments
 (0)