Skip to content

Commit bfe4a84

Browse files
committed
lint fix
1 parent 5dd589f commit bfe4a84

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

firewall.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,7 @@ func (c *Client) DeleteFirewallRule(id string, ruleID string) (*SimpleResponse,
225225
return c.DecodeSimpleResponse(resp)
226226
}
227227

228-
229-
230-
// Check if the firewall is using the default rules
228+
// IsUsingDefaultRules checks if the firewall is using the default rules
231229
func (c *Client) IsUsingDefaultRules(firewallID string) (bool, error) {
232230
// Define default firewall rules
233231
var defaultRules = []FirewallRule{
@@ -272,4 +270,3 @@ func areDefaultRules(rules []FirewallRule, defaultRules []FirewallRule) bool {
272270

273271
return true
274272
}
275-

0 commit comments

Comments
 (0)