Disable lint warning check
This variable is cast to a string to avoid validate_re() breaking, but puppet-lint gives a warning for a string containing only a variable. This disables the warning for this line only. Change-Id: I8faadf0194b61fd9fc709c7287f46b003b92e7e4
This commit is contained in:
@@ -41,7 +41,8 @@ class ceilometer::alarm::evaluator (
|
||||
|
||||
include ::ceilometer::params
|
||||
|
||||
validate_re("${evaluation_interval}",'^(\d+)$')
|
||||
# Cast $evaluation_interval to a string
|
||||
validate_re("${evaluation_interval}",'^(\d+)$') # lint:ignore:only_variable_string
|
||||
|
||||
Ceilometer_config<||> ~> Service['ceilometer-alarm-evaluator']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user