Fix codacy and lint issues

This commit is contained in:
braginini
2022-12-22 12:24:02 +01:00
parent e750a1a40e
commit 4f9e047e7e
9 changed files with 49 additions and 27 deletions

View File

@@ -73,7 +73,7 @@ type AccountManager interface {
GetRule(accountID, ruleID, userID string) (*Rule, error)
SaveRule(accountID, userID string, rule *Rule) error
UpdateRule(accountID string, ruleID string, operations []RuleUpdateOperation) (*Rule, error)
DeleteRule(accountId, ruleID, userID string) error
DeleteRule(accountID, ruleID, userID string) error
ListRules(accountID, userID string) ([]*Rule, error)
GetRoute(accountID, routeID, userID string) (*route.Route, error)
CreateRoute(accountID string, prefix, peer, description, netID string, masquerade bool, metric int, groups []string, enabled bool) (*route.Route, error)