diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-04-02 20:39:18 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-04-02 20:39:18 +0900 |
commit | f37fa078753a2525f87c6434a2d1dad8ef859ae8 (patch) | |
tree | 422f0d3ff4e1b205bc0f18fa18ac8a967b8e5c3b /pkg | |
parent | ccdc2e6277020e571da7792c1d9e76cf13e82f44 (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.go | 1 |
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), |