Skip to content

Commit c0e07f7

Browse files
committed
fix lint
1 parent c0d1620 commit c0e07f7

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

internal/namespaces/rdb/v1/custom_acl.go

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ type rdbACLCustomArgs struct {
2424
ACLRuleIPs []scw.IPNet
2525
}
2626

27-
type rdbACLAddCustomArgs struct {
28-
Region scw.Region
29-
InstanceID string
30-
ACLRuleIPs []scw.IPNet
31-
Description string
32-
Descriptions []string
33-
}
34-
3527
type rdbACLAddPosArgs struct {
3628
Region scw.Region
3729
InstanceID string
@@ -234,7 +226,10 @@ func aclDeleteBuilder(c *core.Command) *core.Command {
234226
var message string
235227
if len(args.ACLRuleIPs) == 1 {
236228
if deletedCount > 0 {
237-
message = fmt.Sprintf("ACL rule %s successfully deleted", args.ACLRuleIPs[0].String())
229+
message = fmt.Sprintf(
230+
"ACL rule %s successfully deleted",
231+
args.ACLRuleIPs[0].String(),
232+
)
238233
} else {
239234
message = fmt.Sprintf("ACL rule %s was not set", args.ACLRuleIPs[0].String())
240235
}

0 commit comments

Comments
 (0)