Merge branch 'main' into issue-fix-6695

This commit is contained in:
Lyndon-Li
2023-12-05 16:46:31 +08:00
48 changed files with 2439 additions and 1610 deletions

View File

@@ -123,7 +123,7 @@ func Stream(ctx context.Context, kbClient kbclient.Client, namespace, name strin
ExpectContinueTimeout: defaultTransport.ExpectContinueTimeout,
}
httpReq, err := http.NewRequestWithContext(ctx, http.MethodGet, created.Status.DownloadURL, nil)
httpReq, err := http.NewRequestWithContext(context.TODO(), http.MethodGet, created.Status.DownloadURL, nil)
if err != nil {
return err
}