summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--table/policy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/policy.go b/table/policy.go
index c870c42e..0d112bba 100644
--- a/table/policy.go
+++ b/table/policy.go
@@ -3044,7 +3044,7 @@ func (r *RoutingPolicy) inUse(d DefinedSet) bool {
for _, p := range r.policyMap {
for _, s := range p.Statements {
for _, c := range s.Conditions {
- if c.Set().Name() == name {
+ if c.Set() != nil && c.Set().Name() == name {
return true
}
}