Skip to content

Commit

Permalink
Added println to check for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JarcauCristian committed Jan 9, 2024
1 parent a8200e6 commit 5f5afab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ func (minioInstance *MinIO) getObject(url string, datasetPath string, forever bo
path := fmt.Sprintf("%s/%s", minioInstance.aliases[url], datasetPath)

var expirationTime string
fmt.Println("Get Object: ", forever)

if forever {
expirationTime = "1000000h"
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ func main() {
})
} else {
foreverBool, _ := strconv.ParseBool(forever)
fmt.Println(foreverBool)

data, err := minio.findObject(datasetPath, foreverBool)

Expand Down

0 comments on commit 5f5afab

Please sign in to comment.