Download artifacts and remove old code for drivers

This commit is contained in:
Alex Dadgar
2016-03-15 10:53:20 -07:00
parent afc9b6afbc
commit bdc7fdebe1
9 changed files with 100 additions and 98 deletions

View File

@@ -205,6 +205,14 @@ func (c *AllocStatusCommand) taskStatus(alloc *api.Allocation) {
} else {
desc = "Failed to start task"
}
case api.TaskDownloadingArtifacts:
desc = "Client is downloading artifacts"
case api.TaskArtifactDownloadFailed:
if event.DownloadError != "" {
desc = event.DownloadError
} else {
desc = "Failed to download artifacts"
}
case api.TaskKilled:
if event.KillError != "" {
desc = event.KillError