docs: less quotes, different quotes
This commit is contained in:
parent
3589a7d56e
commit
ae9e66c319
|
@ -177,7 +177,7 @@ will know that things are likely to change.
|
||||||
}
|
}
|
||||||
|
|
||||||
if !hasAppService {
|
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)
|
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 {
|
if err := recipe.UpdateLabel(mainService, label); err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
}
|
}
|
||||||
logrus.Infof("synced label '%s' to service '%s'", label, mainService)
|
logrus.Infof("synced label %s to service %s", label, mainService)
|
||||||
} else {
|
} 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
|
return nil
|
||||||
|
|
|
@ -88,7 +88,7 @@ func UpdateLabel(pattern, serviceName, label, recipeName string) error {
|
||||||
return err
|
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 {
|
for _, composeFile := range composeFiles {
|
||||||
opts := stack.Deploy{Composefiles: []string{composeFile}}
|
opts := stack.Deploy{Composefiles: []string{composeFile}}
|
||||||
|
@ -140,7 +140,7 @@ func UpdateLabel(pattern, serviceName, label, recipeName string) error {
|
||||||
|
|
||||||
if !discovered {
|
if !discovered {
|
||||||
logrus.Warn("no existing label found, cannot continue...")
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue