From d8a897a0dd04a0d641ea10622180938c76f8e924 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Thu, 12 Oct 2017 11:37:54 +0900 Subject: Fix some typos found by spell checker Signed-off-by: IWASE Yusuke --- api/grpc_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') 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: -- cgit v1.2.3