From 6f69746e418e3681a2598046e650c6a108fe62e6 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 29 Jun 2022 17:14:53 +0200 Subject: [PATCH] Try 07 --- pkg/templater/files.go | 2 +- pkg/templater/services.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/templater/files.go b/pkg/templater/files.go index 408b41e..511c2d7 100644 --- a/pkg/templater/files.go +++ b/pkg/templater/files.go @@ -51,7 +51,7 @@ func (cf *ConfigFile) Generate(root string, templateDir string, values []byte) e if err != nil { return fmt.Errorf("Process templates failed with error: %v", err) } - log.Printf("\n File %s generated\n", dest) + log.Printf("\tFile %s generated\n", dest) return nil } diff --git a/pkg/templater/services.go b/pkg/templater/services.go index 4781ce5..26a8fc4 100644 --- a/pkg/templater/services.go +++ b/pkg/templater/services.go @@ -59,7 +59,7 @@ func (s *Service) Manage(templateDir string) error { log.Printf("\tPackage %s installed\n", pack.Name) } - log.Printf("Generating configuration files for\n") + log.Printf("Generating configuration files\n") err = processConfigFiles(s.ConfigFiles, s.Vars, templateDir) if err != nil { return fmt.Errorf("ProcessingTemplatesFailed with error: %v", err)