From 3307f81bfbb0b2ecc3028996f250857e90d02646 Mon Sep 17 00:00:00 2001 From: Dawid Rusnak Date: Thu, 26 Sep 2024 13:04:22 +0200 Subject: [PATCH] fix: logs in Minio --- pkg/repository/testworkflow/minio_output_repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/repository/testworkflow/minio_output_repository.go b/pkg/repository/testworkflow/minio_output_repository.go index 41cc161495..42859c2681 100644 --- a/pkg/repository/testworkflow/minio_output_repository.go +++ b/pkg/repository/testworkflow/minio_output_repository.go @@ -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) {