diff --git a/instances.go b/instances.go index 3b51b1a..13cf5e1 100644 --- a/instances.go +++ b/instances.go @@ -631,6 +631,8 @@ func (minioInstance *MinIO) uploadFile(reader io.Reader, tags map[string]string, bucketName = "dataspace" } + fmt.Printf("Bucket Name: %s\n", bucketName) + object, err := minioInstance.clients[targetSite].PutObject( context.Background(), bucketName, diff --git a/main.go b/main.go index 9fbbb87..518b418 100644 --- a/main.go +++ b/main.go @@ -464,6 +464,7 @@ func main() { } boolTemporary, _ := strconv.ParseBool(temporary) + fmt.Println(boolTemporary) result, err := minio.uploadFile(reader, mapTags, float64(fileSize), fileName, contentType, boolTemporary) fmt.Println(result)