Skip to content

Commit

Permalink
switched to retry on upload error
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Jun 27, 2024
1 parent f46827f commit 8066e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_clp_s3/flush/flush.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func ToS3(data unsafe.Pointer, length int, tag string, ctx *outctx.S3Context) (i
)
if err != nil {
err = fmt.Errorf("failed to upload chunk to s3, %w", err)
return output.FLB_ERROR, err
return output.FLB_RETRY, err
}

log.Printf("chunk uploaded to %s", outputLocation)
Expand Down

0 comments on commit 8066e00

Please sign in to comment.