From f37fa078753a2525f87c6434a2d1dad8ef859ae8 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Tue, 2 Apr 2019 20:39:18 +0900 Subject: server: fix path validatoin result regression Somehow the state isn't updated. Signed-off-by: FUJITA Tomonori --- pkg/server/grpc_server.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg') diff --git a/pkg/server/grpc_server.go b/pkg/server/grpc_server.go index 6923e43d..0d6f7d9c 100644 --- a/pkg/server/grpc_server.go +++ b/pkg/server/grpc_server.go @@ -118,6 +118,7 @@ func newValidationFromTableStruct(v *table.Validation) *api.Validation { return &api.Validation{} } return &api.Validation{ + State: api.Validation_State(v.Status.ToInt()), Reason: api.Validation_Reason(v.Reason.ToInt()), Matched: newRoaListFromTableStructList(v.Matched), UnmatchedAs: newRoaListFromTableStructList(v.UnmatchedAs), -- cgit v1.2.3