Merge pull request #11165 from hashicorp/b-gh-11149

jobspec2: ensure consistent error handling between var-file & var.
This commit is contained in:
James Rasell
2021-11-04 16:24:00 +01:00
committed by GitHub
3 changed files with 12 additions and 6 deletions

View File

@@ -459,6 +459,7 @@ func (j *JobGetter) ApiJobWithArgs(jpath string, vars []string, varfiles []strin
AllowFS: true,
VarFiles: varfiles,
Envs: os.Environ(),
Strict: true,
})
if err != nil {