Skip to content

Commit

Permalink
Changed debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
JarcauCristian committed Dec 31, 2023
1 parent 6444131 commit 5000ca1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ func (minioInstance *MinIO) uploadFile(reader io.Reader, tags map[string]string,
bucketName = "dataspace"
}

fmt.Printf("Bucket Name: %s\n", bucketName)
fmt.Printf("Target Site: %s\n", targetSite)

object, err := minioInstance.clients[targetSite].PutObject(
context.Background(),
Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ func main() {
}

boolTemporary, _ := strconv.ParseBool(temporary)
fmt.Println(boolTemporary)

result, err := minio.uploadFile(reader, mapTags, float64(fileSize), fileName, contentType, boolTemporary)
fmt.Println(result)
Expand Down

0 comments on commit 5000ca1

Please sign in to comment.