diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/server/grpc_server.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/server/grpc_server.go b/pkg/server/grpc_server.go index b82dc59a..4f1e4df6 100644 --- a/pkg/server/grpc_server.go +++ b/pkg/server/grpc_server.go @@ -678,7 +678,6 @@ func newNeighborFromAPIStruct(a *api.Peer) (*config.Neighbor, error) { } } } - readAddPathsFromAPIStruct(&pconf.AddPaths, a.AddPaths) return pconf, nil } @@ -759,7 +758,6 @@ func newPeerGroupFromAPIStruct(a *api.PeerGroup) (*config.PeerGroup, error) { pconf.State.PeerAs = a.Info.PeerAs pconf.State.PeerType = config.IntToPeerTypeMap[int(a.Info.PeerType)] } - readAddPathsFromAPIStruct(&pconf.AddPaths, a.AddPaths) return pconf, nil } |