File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
internal/namespaces/rdb/v1 Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff 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-
3527type 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 }
You can’t perform that action at this time.
0 commit comments