Skip to content

Commit

Permalink
fixes #923
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek0806 committed Jan 29, 2024
1 parent a2da335 commit 84d0a0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bigip/resource_bigip_ltm_virtual_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,10 @@ func getVirtualServerConfig(d *schema.ResourceData, config *bigip.VirtualServer)
var rules []string
if cfgRules, ok := d.GetOk("irules"); ok {
rules = listToStringSlice(cfgRules.([]interface{}))
} else {
if changed := d.HasChange("irules"); changed {
rules = listToStringSlice(append([]interface{}{}, ""))
}
}

var securityLogProfiles []string
Expand Down

0 comments on commit 84d0a0a

Please sign in to comment.