summaryrefslogtreecommitdiffhomepage
path: root/api/grpc_server.go
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-10-12 11:37:54 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-11-01 21:56:21 +0900
commitd8a897a0dd04a0d641ea10622180938c76f8e924 (patch)
treeeb803e611de80e3ab41f1470be3702387a662327 /api/grpc_server.go
parentfbc493411b3656c97cc979d086e5eecb942859c1 (diff)
Fix some typos found by spell checker
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'api/grpc_server.go')
-rw-r--r--api/grpc_server.go2
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: