fix: linter fix.
This commit is contained in:
parent
d00f204cc5
commit
07b7f5c13d
4 changed files with 5 additions and 6 deletions
|
|
@ -286,10 +286,7 @@ func parseRule(str string) rule {
|
|||
res := make(rule, 0, len(str)/2)
|
||||
tokens := tokenizeRule(str)
|
||||
|
||||
inAare := false
|
||||
if len(tokens) > 0 && (isAARE(tokens[0]) || tokens[0] == tokOWNER) {
|
||||
inAare = true
|
||||
}
|
||||
inAare := len(tokens) > 0 && (isAARE(tokens[0]) || tokens[0] == tokOWNER)
|
||||
for idx, token := range tokens {
|
||||
switch {
|
||||
case token == tokEQUAL, token == tokPLUS+tokEQUAL, token == tokLESS+tokEQUAL: // Variable & Rlimit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue