docs: less quotes, different quotes

This commit is contained in:
decentral1se 2021-12-20 01:05:51 +01:00
parent 3589a7d56e
commit ae9e66c319
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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)
}
}