use long-running context for client initialization

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 422ba60b04)
This commit is contained in:
Tonis Tiigi
2021-08-19 20:36:24 -07:00
parent 260d07a9a1
commit 43e51fd089
5 changed files with 8 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ func ReadRemoteFiles(ctx context.Context, dis []build.DriverInfo, url string, na
return nil, nil, nil
}
c, err := driver.Boot(ctx, di.Driver, pw)
c, err := driver.Boot(ctx, ctx, di.Driver, pw)
if err != nil {
return nil, nil, err
}