Skip to content
Merged
2 changes: 1 addition & 1 deletion codersdk/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func prefixLines(prefix, s []byte) []byte {
// responsible for closing the response body.
func (c *Client) Request(ctx context.Context, method, path string, body interface{}, opts ...RequestOption) (*http.Response, error) {
if ctx == nil {
return nil, xerrors.Errorf("context should bot be nil")
return nil, xerrors.Errorf("context should not be nil")
}
ctx, span := tracing.StartSpanWithName(ctx, tracing.FuncNameSkip(1))
defer span.End()
Expand Down
Loading