From ca4db692e61ae97c5992b15cb179916bb81cc4a7 Mon Sep 17 00:00:00 2001 From: yashsinghcodes Date: Thu, 28 Nov 2024 02:11:59 +0530 Subject: [PATCH] remove unused variables --- backend/go-app/main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/go-app/main.go b/backend/go-app/main.go index 5771d76c..53d0f498 100755 --- a/backend/go-app/main.go +++ b/backend/go-app/main.go @@ -4031,12 +4031,10 @@ func runInitEs(ctx context.Context) { } err = shuffle.SetOrg(ctx, newOrg, newOrg.Id) - setUsers := false if err != nil { log.Printf("[ERROR] Failed setting organization when creating original user: %s", err) } else { log.Printf("[DEBUG] Successfully created the default org with id %s!", orgId) - setUsers = true item := shuffle.Environment{ Name: defaultEnv, @@ -4051,9 +4049,6 @@ func runInitEs(ctx context.Context) { log.Printf("[WARNING] Failed setting up new environment") } } - - if setUsers { - } } } else { for _, user := range users {