diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-01-09 09:07:06 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-01-09 14:36:48 +0900 |
commit | 1d14b8ecfba61de524e0266e4a0fddb3b111f235 (patch) | |
tree | 8e66d6dada1377f85e58669c416f7f4cf993ee34 /pkg/server/rpki.go | |
parent | 0ae389ad1e7daeaeb354cd4be76b13ece9153e00 (diff) |
silence staticcheck warnings
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'pkg/server/rpki.go')
-rw-r--r-- | pkg/server/rpki.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/rpki.go b/pkg/server/rpki.go index c5c2f7c9..c46f8ffd 100644 --- a/pkg/server/rpki.go +++ b/pkg/server/rpki.go @@ -470,7 +470,7 @@ func (m *roaManager) GetServers() []*config.RpkiServer { func (m *roaManager) GetRoa(family bgp.RouteFamily) ([]*table.ROA, error) { if len(m.clientMap) == 0 { - return []*table.ROA{}, fmt.Errorf("RPKI server isn't configured.") + return []*table.ROA{}, fmt.Errorf("RPKI server isn't configured") } var rfList []bgp.RouteFamily switch family { |