mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Download artifacts and remove old code for drivers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user