From a5818b158f9ca52ff06f500e4bdc2e4c2379bd72 Mon Sep 17 00:00:00 2001 From: "James G. Kim" Date: Tue, 2 Jun 2015 18:38:27 +0900 Subject: [PATCH] Fixes 'unknown configuration key' errors for 'only' and 'except' --- template/parse.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/parse.go b/template/parse.go index a7b187f37..dbb29569d 100644 --- a/template/parse.go +++ b/template/parse.go @@ -134,6 +134,8 @@ func (r *rawTemplate) Template() (*Template, error) { } // Set the configuration + delete(c, "except") + delete(c, "only") delete(c, "keep_input_artifact") delete(c, "type") if len(c) > 0 {