summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
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),