diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 10:20:00 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | 3ea93f56e7edcb50a44060ebe5bd022cd2efd205 (patch) | |
tree | 398d525dfc339b53f4ab4e458bae785eceb33f5e /dex/nodetable_test.go | |
parent | d00250d9631c4408d7f27f1a20a308788e36698d (diff) | |
download | dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.gz dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.zst dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.zip |
Fix lint
Diffstat (limited to 'dex/nodetable_test.go')
-rw-r--r-- | dex/nodetable_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dex/nodetable_test.go b/dex/nodetable_test.go index 5adf0fbec..da00098a9 100644 --- a/dex/nodetable_test.go +++ b/dex/nodetable_test.go @@ -17,13 +17,13 @@ func TestNodeTable(t *testing.T) { table.SubscribeNewMetasEvent(ch) metas1 := []*NodeMeta{ - &NodeMeta{ID: randomID()}, - &NodeMeta{ID: randomID()}, + {ID: randomID()}, + {ID: randomID()}, } metas2 := []*NodeMeta{ - &NodeMeta{ID: randomID()}, - &NodeMeta{ID: randomID()}, + {ID: randomID()}, + {ID: randomID()}, } go table.Add(metas1) |