validate maxdelay for cron job
The parameter descriptions says the value should be a positive integer (or 0). Validate the given value to reject invalid values such as strings or even negative values. Change-Id: Ia6e238f85b7eef5b8f7b65ca37481d77a48c378a
This commit is contained in:
parent
722d68b036
commit
f93968a061
@ -104,7 +104,7 @@ class swift::storage::drive_audit(
|
||||
$monthday = '*',
|
||||
$month = '*',
|
||||
$weekday = '*',
|
||||
$maxdelay = 0,
|
||||
Integer[0] $maxdelay = 0,
|
||||
# drive-audit.conf options
|
||||
$log_facility = 'LOG_LOCAL2',
|
||||
$log_level = 'INFO',
|
||||
|
Loading…
x
Reference in New Issue
Block a user