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: I21ecb74717c27db8f6a885dc7f70362a3d67f77a
This commit is contained in:
parent
bd2debe260
commit
b6657cc537
@ -57,7 +57,7 @@ class heat::cron::purge_deleted (
|
||||
$monthday = '*',
|
||||
$month = '*',
|
||||
$weekday = '*',
|
||||
$maxdelay = 0,
|
||||
Integer[0] $maxdelay = 0,
|
||||
$user = $::heat::params::user,
|
||||
$age = 1,
|
||||
Enum['days', 'hours', 'minutes', 'seconds'] $age_type = 'days',
|
||||
|
Loading…
x
Reference in New Issue
Block a user