manager/runner.go
func findCommand(c *config.TemplateConfig, templates []*config.TemplateConfig) *config.TemplateConfig {
	needle := config.StringVal(c.Exec.Command)
	for _, t := range templates {
		if needle == config.StringVal(t.Exec.Command) {
			return t
		}
	}
	return nil
}
func findCommand(c *config.TemplateConfig, templates []*config.TemplateConfig) *config.TemplateConfig {
	needle := config.StringVal(c.Exec.Command)
	for _, t := range templates {
		if needle == config.StringVal(t.Exec.Command) {
			return t
		}
	}
	return nil
}
func findCommand ( c * config . TemplateConfig , templates [ ] * config . TemplateConfig ) * config . TemplateConfig { needle := config . StringVal ( c . Exec . Command ) for _ , t := range templates { if needle == config . StringVal ( t . Exec . Command ) { return t } } return nil }
// findCommand searches the list of template configs for the given command and
// returns it if it exists.
findCommand searches the list of template configs for the given command and returns it if it exists .