You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
content, httpResp, err:=downloadLogContent(url.String())//nolint:bodyclose // Response body is closed in downloadLogContent, but we need to return httpResp
740
740
iferr!=nil {
741
741
// To keep the return value consistent wrap the response as a GitHub Response
742
742
ghRes:=&github.Response{
743
-
Response: resp,
743
+
Response: httpResp,
744
744
}
745
745
returnnil, ghRes, fmt.Errorf("failed to download log content for job %d: %w", jobID, err)
0 commit comments