From 08a871d267773baa3d95aebae9c04947681081ec Mon Sep 17 00:00:00 2001 From: catttam Date: Fri, 2 Feb 2024 19:36:10 +0100 Subject: [PATCH] Fixed update --- pkg/handlers/create.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/handlers/create.go b/pkg/handlers/create.go index 1a586845..430a39f4 100644 --- a/pkg/handlers/create.go +++ b/pkg/handlers/create.go @@ -281,6 +281,7 @@ func createBuckets(service *types.Service, cfg *types.Config, minIOAdminClient * if err != nil { return fmt.Errorf("error creating service group for bucket %s: %v", splitPath[0], err) } + } else { minIOAdminClient.DeleteServiceGroup(splitPath[0]) } createLogger.Print("Creating/Updating users")