Check download auth
This commit is contained in:
parent
896ab0edc3
commit
f232e08945
4 changed files with 40 additions and 6 deletions
|
@ -37,7 +37,7 @@ func RunHealthCheck(conf config.Config, t *types.Task, data types.HealthCheckDat
|
|||
}
|
||||
}()
|
||||
|
||||
err := downloadFile(ctx, l, conf.Worker.Address, path, t)
|
||||
err := downloadFile(ctx, l, conf, path, t)
|
||||
if err != nil {
|
||||
l.ErrorContext(ctx, "File Download Failed", "err", err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue