From 25d1c7ca39e64407c2d94975e450a0ba88b31c39 Mon Sep 17 00:00:00 2001 From: pb Date: Fri, 1 Aug 2025 16:28:49 +0200 Subject: [PATCH] corrected how retrieve is instanciated --- controllers/minio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/minio.go b/controllers/minio.go index 059be3c..61807e7 100644 --- a/controllers/minio.go +++ b/controllers/minio.go @@ -30,7 +30,7 @@ func (m *MinioController) CreateServiceAccount() { minioId := m.Ctx.Input.Param(":minioId") var b map[string]interface{} - var retrieve bool + retrieve := false json.Unmarshal(m.Ctx.Input.CopyBody(10000), &b) if r, ok := b["retrieve"]; ok { retrieve = r.(bool)