Skip to content

Commit

Permalink
Fix typo in resumable.go (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
windmaple authored Oct 4, 2024
1 parent 2ec7e23 commit 1046391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genai/internal/gensupport/resumable.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (rx *ResumableUpload) Upload(ctx context.Context) (resp *http.Response, err
// set to a very small value, in which case no requests will be sent before
// the deadline. Return an error to avoid causing a panic.
if resp == nil {
return nil, fmt.Errorf("upload request to %v not sent, choose larger value for ChunkRetryDealine", rx.URI)
return nil, fmt.Errorf("upload request to %v not sent, choose larger value for ChunkRetryDeadline", rx.URI)
}
return resp, nil
}
Expand Down

0 comments on commit 1046391

Please sign in to comment.