diff options
author | Sergey Elantsev <elantsev.s@yandex.ru> | 2020-03-09 15:19:17 +0300 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2020-03-11 06:21:16 +0900 |
commit | 136c8222c493a9a5a44a89db153571f7ae5d75a5 (patch) | |
tree | faf88fdeabfd8c9a466159c18c09e29992a8f41d /pkg/server/rpki.go | |
parent | 077e3aa5ca05f4d9341f20d19c3bf6c6d8fedb69 (diff) |
fixed style: unnecessary type cast after type switch and some minor issues.
Diffstat (limited to 'pkg/server/rpki.go')
-rw-r--r-- | pkg/server/rpki.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/server/rpki.go b/pkg/server/rpki.go index 9eb3d2b7..00fbfcfa 100644 --- a/pkg/server/rpki.go +++ b/pkg/server/rpki.go @@ -64,10 +64,10 @@ type roaManager struct { func newROAManager(table *table.ROATable) *roaManager { m := &roaManager{ - table: table, + eventCh: make(chan *roaEvent), + clientMap: make(map[string]*roaClient), + table: table, } - m.eventCh = make(chan *roaEvent) - m.clientMap = make(map[string]*roaClient) return m } |