diff options
-rw-r--r-- | table/policy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/policy.go b/table/policy.go index 2a97e42b..7369a823 100644 --- a/table/policy.go +++ b/table/policy.go @@ -1987,7 +1987,7 @@ func (s *Statement) ToApiStruct() *api.Statement { } } as := &api.Actions{} - if s.RouteAction != nil { + if s.RouteAction != nil && !reflect.ValueOf(s.RouteAction).IsNil() { as.RouteAction = s.RouteAction.(*RoutingAction).ToApiStruct() } for _, a := range s.ModActions { |