forked from toolshed/abra
		
	docs: less quotes, different quotes
This commit is contained in:
		| @ -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 | ||||
|  | ||||
| @ -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) | ||||
| 		} | ||||
|  | ||||
| 	} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user