Skip to content

Commit

Permalink
loose ends on splitting data from PolicyRule
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Jan 12, 2024
1 parent c1dcb59 commit e35462a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apstra/two_stage_l3_clos_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e35462a

Please sign in to comment.