remove unused variables

This commit is contained in:
yashsinghcodes
2024-11-28 02:11:59 +05:30
parent da9d3f4c82
commit ca4db692e6
-5
View File
@@ -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 {