Add support for go-getter modes

Fixes #2678
This commit is contained in:
Michael Schurter
2017-07-05 20:44:49 -07:00
parent b9434683d8
commit 450e347708
10 changed files with 87 additions and 5 deletions

View File

@@ -654,6 +654,7 @@ func ApiTaskToStructsTask(apiTask *api.Task, structsTask *structs.Task) {
structsTask.Artifacts[k] = &structs.TaskArtifact{
GetterSource: *ta.GetterSource,
GetterOptions: ta.GetterOptions,
GetterMode: *ta.GetterMode,
RelativeDest: *ta.RelativeDest,
}
}