summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/grpc_server.go1
-rw-r--r--api/util.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go
index 30934cda..cec1c272 100644
--- a/api/grpc_server.go
+++ b/api/grpc_server.go
@@ -392,7 +392,6 @@ func ToPathApi(path *table.Path) *Path {
Stale: path.IsStale(),
IsFromExternal: path.IsFromExternal(),
NoImplicitWithdraw: path.NoImplicitWithdraw(),
- Uuid: path.UUID().Bytes(),
IsNexthopInvalid: path.IsNexthopInvalid,
Identifier: nlri.PathIdentifier(),
LocalIdentifier: nlri.PathLocalIdentifier(),
diff --git a/api/util.go b/api/util.go
index 9a16bef5..177b48a9 100644
--- a/api/util.go
+++ b/api/util.go
@@ -134,7 +134,6 @@ func (p *Path) ToNativePath(option ...ToNativeOption) (*table.Path, error) {
UnmatchedLength: NewROAListFromApiStructList(p.ValidationDetail.UnmatchedLength),
})
path.MarkStale(p.Stale)
- path.SetUUID(p.Uuid)
path.IsNexthopInvalid = p.IsNexthopInvalid
return path, nil
}