Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: denis-tingaikin <[email protected]>
  • Loading branch information
denis-tingaikin committed Oct 17, 2024
1 parent 9c5c521 commit 16788b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions pkg/registry/etcd/ns_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,8 @@ func Test_NSHighloadWatch_ShouldNotFail(t *testing.T) {
defer cancel()

const clinetCount = 20
const updateCount int32 = 200

watch.DefaultChanSize = updateCount

var updateCount = watch.DefaultChanSize
var actual atomic.Int32
var myClientset = fake.NewSimpleClientset()

Expand Down
1 change: 0 additions & 1 deletion pkg/registry/etcd/nse_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ func (n *etcdNSERegistryServer) subscribeOnEvents(ctx context.Context) <-chan *r
n.subscribers.Remove(node)
close(ret)
})

}()

return ret
Expand Down
4 changes: 1 addition & 3 deletions pkg/registry/etcd/nse_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,8 @@ func Test_NSEHighloadWatch_ShouldNotFail(t *testing.T) {
defer cancel()

const clinetCount = 20
const updateCount int32 = 200

watch.DefaultChanSize = updateCount

var updateCount = watch.DefaultChanSize
var actual atomic.Int32
var myClientset = fake.NewSimpleClientset()

Expand Down

0 comments on commit 16788b6

Please sign in to comment.