From 1fdbbecce175876d63bc26325664824cbb16a6c8 Mon Sep 17 00:00:00 2001 From: Kashif Saadat Date: Mon, 13 Nov 2017 10:16:16 +0000 Subject: [PATCH] Fix CoreOS logrotate service failure. --- nodeup/pkg/model/logrotate.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nodeup/pkg/model/logrotate.go b/nodeup/pkg/model/logrotate.go index 24bab1c320..d7933b0caf 100644 --- a/nodeup/pkg/model/logrotate.go +++ b/nodeup/pkg/model/logrotate.go @@ -89,8 +89,7 @@ func (b *LogrotateBuilder) Build(c *fi.ModelBuilderContext) error { // addLogrotateService creates a logrotate systemd task to act as target for the timer, if one is needed func (b *LogrotateBuilder) addLogrotateService(c *fi.ModelBuilderContext) error { switch b.Distribution { - case distros.DistributionCoreOS: - case distros.DistributionContainerOS: + case distros.DistributionCoreOS, distros.DistributionContainerOS: // logrotate service already exists return nil }