Skip to content

Commit

Permalink
Remove comment code
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandrojnm@gmail.com>
  • Loading branch information
alejandrojnm committed Nov 9, 2022
1 parent 8b98c0e commit cd816da
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions civo/resource_firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,14 +421,6 @@ func expandFirewallRules(rules []interface{}, direction string) []civogo.Firewal
Action: rule["action"].(string),
}

// if rule["start_port"].(string) != "" {
// fwRule.StartPort = rule["start_port"].(string)
// }

// if rule["end_port"].(string) != "" {
// fwRule.StartPort = rule["start_port"].(string)
// }

if rule["port_range"].(string) != "" {
fwRule.Ports = rule["port_range"].(string)
}
Expand Down

0 comments on commit cd816da

Please sign in to comment.