diff options
Diffstat (limited to 'api/grpc_server.go')
-rw-r--r-- | api/grpc_server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go index 0b316a0f..d1b82aeb 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -729,7 +729,7 @@ func (s *Server) api2PathList(resource Resource, ApiPathList []*Path) ([]*table. if _, ok := seen[p.GetType()]; !ok { seen[p.GetType()] = true } else { - return nil, fmt.Errorf("the path attribute apears twice. Type : " + strconv.Itoa(int(p.GetType()))) + return nil, fmt.Errorf("the path attribute appears twice. Type : " + strconv.Itoa(int(p.GetType()))) } switch p.GetType() { case bgp.BGP_ATTR_TYPE_NEXT_HOP: |