From ae9e66c319984326dcc7ff5634a874bb3c982659 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Mon, 20 Dec 2021 01:05:51 +0100 Subject: [PATCH] docs: less quotes, different quotes --- cli/recipe/sync.go | 6 +++--- pkg/compose/compose.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/recipe/sync.go b/cli/recipe/sync.go index a1762a26..ebd7fb7b 100644 --- a/cli/recipe/sync.go +++ b/cli/recipe/sync.go @@ -177,7 +177,7 @@ will know that things are likely to change. } if !hasAppService { - logrus.Fatalf("%s has no main 'app' service?", recipe.Name) + logrus.Fatalf("%s has no main app service?", recipe.Name) } logrus.Debugf("selecting %s as the service to sync version label", mainService) @@ -187,9 +187,9 @@ will know that things are likely to change. if err := recipe.UpdateLabel(mainService, label); err != nil { logrus.Fatal(err) } - logrus.Infof("synced label '%s' to service '%s'", label, mainService) + logrus.Infof("synced label %s to service %s", label, mainService) } else { - logrus.Infof("dry run only: NOT syncing label %s for recipe %s", nextTag, recipe.Name) + logrus.Infof("dry run: not syncing label %s for recipe %s", nextTag, recipe.Name) } return nil diff --git a/pkg/compose/compose.go b/pkg/compose/compose.go index 1fa11d16..3d49c9e3 100644 --- a/pkg/compose/compose.go +++ b/pkg/compose/compose.go @@ -88,7 +88,7 @@ func UpdateLabel(pattern, serviceName, label, recipeName string) error { return err } - logrus.Debugf("considering '%s' config(s) for label update", strings.Join(composeFiles, ", ")) + logrus.Debugf("considering %s config(s) for label update", strings.Join(composeFiles, ", ")) for _, composeFile := range composeFiles { opts := stack.Deploy{Composefiles: []string{composeFile}} @@ -140,7 +140,7 @@ func UpdateLabel(pattern, serviceName, label, recipeName string) error { if !discovered { logrus.Warn("no existing label found, cannot continue...") - logrus.Fatalf("add '%s' manually, automagic insertion not supported yet", label) + logrus.Fatalf("add \"%s\" manually, automagic insertion not supported yet", label) } }