From d867cb0050474ab7c8c4d4ebffcaeaea2e59b241 Mon Sep 17 00:00:00 2001 From: JarcauCristian Date: Tue, 9 Jan 2024 11:35:58 +0200 Subject: [PATCH] More messages --- instances.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instances.go b/instances.go index 5ad7f6f..d80f40a 100644 --- a/instances.go +++ b/instances.go @@ -665,7 +665,7 @@ func (minioInstance *MinIO) getObject(url string, datasetPath string, forever bo fmt.Println("Get Object: ", forever) if forever { - expirationTime = "1000000h" + expirationTime = "100y" } else { expirationTime = "10m" } @@ -679,6 +679,7 @@ func (minioInstance *MinIO) getObject(url string, datasetPath string, forever bo cmd.Stderr = &stderr err := cmd.Run() if err != nil { + fmt.Println(err) return "", err } @@ -688,7 +689,6 @@ func (minioInstance *MinIO) getObject(url string, datasetPath string, forever bo if err != nil { return "", err } - fmt.Println(data) if data["status"].(string) != "success" { return "", errors.New("could not get download link for the object")