Skip to content

Commit 928e6a2

Browse files
mugeshspMugesh SP
authored andcommitted
fix: Remove unnecessary blank lines in UpdateEndpoint and DeleteEndpointState methods
1 parent e786914 commit 928e6a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cns/client/client.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,6 @@ func (c *Client) UpdateEndpoint(ctx context.Context, endpointID string, ipInfo m
10891089

10901090
var response cns.Response
10911091
err = json.NewDecoder(res.Body).Decode(&response)
1092-
10931092
if err != nil {
10941093
return nil, errors.Wrap(err, "failed to decode CNS Response")
10951094
}
@@ -1122,7 +1121,6 @@ func (c *Client) DeleteEndpointState(ctx context.Context, endpointID string) (*c
11221121

11231122
var response cns.Response
11241123
err = json.NewDecoder(res.Body).Decode(&response)
1125-
11261124
if err != nil {
11271125
return nil, errors.Wrap(err, "failed to decode CNS Response")
11281126
}

0 commit comments

Comments
 (0)