Skip to content

Commit

Permalink
fix godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
klaidliadon committed Jul 10, 2024
1 parent 497c31e commit f83fe63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func getProjectID(ctx context.Context) (uint64, bool) {
return v, ok
}

// WithComputeUnits sets the compute units and rate limit increment to the context.
// WithComputeUnits sets the compute units.
func WithComputeUnits(ctx context.Context, cu int64) context.Context {
return context.WithValue(ctx, ctxKeyComputeUnits, cu)
}
Expand Down

0 comments on commit f83fe63

Please sign in to comment.