Fix error in 140chars lint check

Change-Id: Iaf4576e97503aeb5acb257d310fa23fb34a2d316
This commit is contained in:
Takashi Kajinami
2022-02-01 00:14:23 +09:00
parent 5e4243a8ba
commit b052a4c1a3
2 changed files with 6 additions and 4 deletions

View File

@@ -167,8 +167,9 @@ class nova::cron::archive_deleted_rows (
$cron_cmd = 'nova-manage db archive_deleted_rows'
cron { 'nova-manage db archive_deleted_rows':
command => "${delay_cmd}${cron_cmd}${purge_real} --max_rows ${max_rows}${verbose_real}${age_real}${until_complete_real}${all_cells_real}${task_log_real}${sleep_real} \
>>${destination} 2>&1",
# lint:ignore:140chars
command => "${delay_cmd}${cron_cmd}${purge_real} --max_rows ${max_rows}${verbose_real}${age_real}${until_complete_real}${all_cells_real}${task_log_real}${sleep_real} >>${destination} 2>&1",
# lint:endignore
environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
user => pick($user, $::nova::params::nova_user),
minute => $minute,

View File

@@ -102,8 +102,9 @@ class nova::cron::purge_shadow_tables (
$cron_cmd = 'nova-manage db purge'
cron { 'nova-manage db purge':
command => "${delay_cmd}${cron_cmd} --before `date --date='today - ${age} days' +\\%D`${verbose_real}${all_cells_real} \
>>${destination} 2>&1",
# lint:ignore:140chars
command => "${delay_cmd}${cron_cmd} --before `date --date='today - ${age} days' +\\%D`${verbose_real}${all_cells_real} >>${destination} 2>&1",
# lint:endignore
environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
user => pick($user, $::nova::params::nova_user),
minute => $minute,