diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2016-11-17 02:06:22 -0500 |
---|---|---|
committer | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2016-11-17 21:52:20 -0500 |
commit | 24e397b0f65b1c5294ea711a953501fda944411d (patch) | |
tree | 6a08d7863516465fc1c421cfd20805f2c209f833 /table/adj.go | |
parent | a3e262f3a83fedeeabc5c7820a6d42b54e0325c1 (diff) |
add go vet test
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'table/adj.go')
-rw-r--r-- | table/adj.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/adj.go b/table/adj.go index ea7b4151..f1843859 100644 --- a/table/adj.go +++ b/table/adj.go @@ -192,7 +192,7 @@ func (adj *AdjRib) Select(family bgp.RouteFamily, accepted bool, option ...Table func (adj *AdjRib) TableInfo(family bgp.RouteFamily) (*TableInfo, error) { if _, ok := adj.table[family]; !ok { - return nil, fmt.Errorf("%s unsupported") + return nil, fmt.Errorf("%s unsupported", family) } c := adj.Count([]bgp.RouteFamily{family}) a := adj.Accepted([]bgp.RouteFamily{family}) |