summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-04-02 20:39:18 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-04-02 20:39:18 +0900
commitf37fa078753a2525f87c6434a2d1dad8ef859ae8 (patch)
tree422f0d3ff4e1b205bc0f18fa18ac8a967b8e5c3b /pkg
parentccdc2e6277020e571da7792c1d9e76cf13e82f44 (diff)
server: fix path validatoin result regression
Somehow the state isn't updated. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/server/grpc_server.go1
1 files changed, 1 insertions, 0 deletions
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),