Terminate regex
This commit is contained in:
parent
568cb87ad6
commit
713f12e1d4
|
@ -190,7 +190,7 @@ define service {
|
|||
<% else -%>
|
||||
<% version_variable = 'nextcloud_version_prod_' << cur_cust -%>
|
||||
<% end -%>
|
||||
<% version = scope.lookupvar(version_variable).gsub(/-[0-9]+,'') -%>
|
||||
<% version = scope.lookupvar(version_variable).gsub(/-[0-9]+/,'') -%>
|
||||
check_command check_nextcloud_version!'<%= version %>'
|
||||
check_interval 5
|
||||
check_period 24x7
|
||||
|
|
Loading…
Reference in a new issue