feat(pkg): minor improvment on rlimit definition.

This commit is contained in:
Alexandre Pujol 2025-03-10 19:39:38 +01:00
parent 255458bc9c
commit ef90157f25
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -45,8 +45,8 @@ func newRlimit(q Qualifier, rule rule) (Rule, error) {
func newRlimitFromLog(log map[string]string) Rule { func newRlimitFromLog(log map[string]string) Rule {
return &Rlimit{ return &Rlimit{
Base: newBaseFromLog(log), Base: newBaseFromLog(log),
Key: log["key"], Key: log["rlimit"],
Op: log["op"], Op: "<=",
Value: log["value"], Value: log["value"],
} }
} }