From bf1cf9c8119d2c2a06793c97774cda695588637c Mon Sep 17 00:00:00 2001 From: JarcauCristian Date: Tue, 9 Jan 2024 14:06:59 +0200 Subject: [PATCH] Unifining some things --- instances.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instances.go b/instances.go index 7ba03b4..d97b21c 100644 --- a/instances.go +++ b/instances.go @@ -635,7 +635,9 @@ func (minioInstance *MinIO) uploadFile(reader io.Reader, tags map[string]string, bucketName = "dataspace" } - fmt.Println("Tags: ", tags) + sizeInBytes := len(tags) + + fmt.Printf("Size of tags: %d bytes\n", sizeInBytes) object, err := minioInstance.clients[targetSite].PutObject( context.Background(),