Skip to content

Commit

Permalink
Merge pull request #80 from mulesoft-consulting/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rubycube authored Feb 18, 2023
2 parents bd7e07b + 57def64 commit 1a90b43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions anypoint/resource_ame_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,10 @@ func resourceAMEBindingRulesDelete(ctx context.Context, d *schema.ResourceData,
func newAMEBindingRuleBody(d *schema.ResourceData) *ame_binding.AMEBindingRuleBody {
rules := extractAMEBindingRules(d)

if rules == nil {
return nil
}

body := ame_binding.NewAMEBindingRuleBody()
list := make([]map[string]interface{}, len(rules))

Expand Down

0 comments on commit 1a90b43

Please sign in to comment.