Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
jaffee committed Aug 28, 2019
1 parent eed88d3 commit 4cc60a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (c *Client) getURIsForShard(index string, shard uint64) ([]*URI, error) {
func (c *Client) runChangeDetection() {
c.tick = time.NewTicker(time.Minute)

for _ = range c.tick.C {
for range c.tick.C {
c.detectClusterChanges()
}
}
Expand Down
2 changes: 1 addition & 1 deletion client_internal_it_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func TestDetectClusterChanges(t *testing.T) {
c := getClient()

c.shardNodes.data["blah"] = make(map[uint64][]*URI)
c.shardNodes.data["blah"][1] = []*URI{&URI{scheme: "zzz"}}
c.shardNodes.data["blah"][1] = []*URI{{scheme: "zzz"}}

c.detectClusterChanges()
}

0 comments on commit 4cc60a1

Please sign in to comment.