From 70eb69d46849572b4c0fc66b464cb4cb692e35a1 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 2 Feb 2022 09:24:37 +0900 Subject: [PATCH] logrotate: Remove redundant blank lines Current logrotate.conf includes multiple blank lines. This change removes these lines to make the file minimum and more readable. Change-Id: I5d085b20c06057515ae48ffdfa3dcb5705a4fd63 --- .../logrotate/containers_logrotate.conf.erb | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/logrotate/containers_logrotate.conf.erb b/templates/logrotate/containers_logrotate.conf.erb index d5a786700..624318b86 100644 --- a/templates/logrotate/containers_logrotate.conf.erb +++ b/templates/logrotate/containers_logrotate.conf.erb @@ -9,25 +9,25 @@ # required for GDPR compliance. maxsize <%= @maxsize %> missingok -<%- if @notifempty %> +<%- if @notifempty -%> notifempty -<%- end %> -<%- if @copytruncate %> +<%- end -%> +<%- if @copytruncate -%> copytruncate -<%- end %> -<%- if @delaycompress %> +<%- end -%> +<%- if @delaycompress -%> delaycompress -<%- end %> -<%- if @compress %> +<%- end -%> +<%- if @compress -%> compress -<%- end %> -<%- if @dateext %> +<%- end -%> +<%- if @dateext -%> dateext -<%- if @dateformat %> +<%- if @dateformat -%> dateformat <%= @dateformat %> -<%- end %> -<%- if @dateyesterday %> +<%- end -%> +<%- if @dateyesterday -%> dateyesterday -<%- end %> -<%- end %> +<%- end -%> +<%- end -%> }