Skip to content

Commit

Permalink
pass the unmarshaled chunk instead of the body request to CompressedW…
Browse files Browse the repository at this point in the history
…rite
  • Loading branch information
viglia committed Jun 24, 2024
1 parent 42c5931 commit 361b284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/vroom/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (env *environment) postChunk(w http.ResponseWriter, r *http.Request) {

s = sentry.StartSpan(ctx, "gcs.write")
s.Description = "Write profile to GCS"
err = storageutil.CompressedWrite(ctx, env.storage, c.StoragePath(), body)
err = storageutil.CompressedWrite(ctx, env.storage, c.StoragePath(), c)
s.Finish()
if err != nil {
if errors.Is(err, context.DeadlineExceeded) {
Expand Down

0 comments on commit 361b284

Please sign in to comment.