diff --git a/apstra/two_stage_l3_clos_policies.go b/apstra/two_stage_l3_clos_policies.go index 68147287..19a3dfd6 100644 --- a/apstra/two_stage_l3_clos_policies.go +++ b/apstra/two_stage_l3_clos_policies.go @@ -47,7 +47,7 @@ type PolicyData struct { func (o PolicyData) request() *policyRequest { rules := make([]rawPolicyRule, len(o.Rules)) for i, rule := range o.Rules { - rules[i] = *rule.raw() + rules[i] = *rule.Data.raw() } return &policyRequest{ Enabled: o.Enabled,