Skip to content

Commit

Permalink
fix: logs in Minio (#5873)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Sep 26, 2024
1 parent 9a112a5 commit 38f9b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/repository/testworkflow/minio_output_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (m *MinioRepository) SaveLog(ctx context.Context, id, workflowName string,
return nil
}
defer buffer.Cleanup()
return m.storage.UploadFileToBucket(ctx, m.bucket, bucketFolder, id, reader, int64(buffer.Len()))
return m.storage.UploadFileToBucket(ctx, m.bucket, bucketFolder, id, buffer, int64(buffer.Len()))
}

func (m *MinioRepository) ReadLog(ctx context.Context, id, workflowName string) (io.Reader, error) {
Expand Down

0 comments on commit 38f9b72

Please sign in to comment.