Fixes 'unknown configuration key' errors for 'only' and 'except'

This commit is contained in:
James G. Kim 2015-06-02 18:38:27 +09:00
parent 793698f8a7
commit a5818b158f
1 changed files with 2 additions and 0 deletions

View File

@ -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 {