From b9d20f566ef09adadf7f45d73c697a2e74e7023f Mon Sep 17 00:00:00 2001 From: Nic Jackson Date: Fri, 14 Feb 2020 17:48:52 +0000 Subject: [PATCH] Fix tests --- pkg/shipyard/engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/shipyard/engine.go b/pkg/shipyard/engine.go index 69e01d13..2f3329d7 100644 --- a/pkg/shipyard/engine.go +++ b/pkg/shipyard/engine.go @@ -140,7 +140,7 @@ func (e *Engine) Apply(path string) error { } } - return err + return tf.Err() } // Destroy the resources defined by the config @@ -209,7 +209,7 @@ func (e *Engine) Destroy(path string, allResources bool) error { os.RemoveAll(utils.StatePath()) } - return err + return tf.Err() } func (e *Engine) readConfig(path string) (*dag.AcyclicGraph, error) {