display error when commands for docker plugin

This commit is contained in:
Brad Rydzewski 2016-07-22 10:14:38 -07:00
parent 90af8ac414
commit 6d2c525064

View file

@ -157,7 +157,9 @@ func (a *Agent) prep(w *queue.Work) (*yaml.Config, error) {
transform.ImageTag(conf) transform.ImageTag(conf)
transform.ImageName(conf) transform.ImageName(conf)
transform.ImageNamespace(conf, a.Namespace) transform.ImageNamespace(conf, a.Namespace)
transform.ImageEscalate(conf, a.Escalate) if err := transform.ImageEscalate(conf, a.Escalate); err != nil {
return nil, err
}
transform.PluginParams(conf) transform.PluginParams(conf)
if a.Local != "" { if a.Local != "" {