remove unused variables
This commit is contained in:
@@ -4031,12 +4031,10 @@ func runInitEs(ctx context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
err = shuffle.SetOrg(ctx, newOrg, newOrg.Id)
|
err = shuffle.SetOrg(ctx, newOrg, newOrg.Id)
|
||||||
setUsers := false
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[ERROR] Failed setting organization when creating original user: %s", err)
|
log.Printf("[ERROR] Failed setting organization when creating original user: %s", err)
|
||||||
} else {
|
} else {
|
||||||
log.Printf("[DEBUG] Successfully created the default org with id %s!", orgId)
|
log.Printf("[DEBUG] Successfully created the default org with id %s!", orgId)
|
||||||
setUsers = true
|
|
||||||
|
|
||||||
item := shuffle.Environment{
|
item := shuffle.Environment{
|
||||||
Name: defaultEnv,
|
Name: defaultEnv,
|
||||||
@@ -4051,9 +4049,6 @@ func runInitEs(ctx context.Context) {
|
|||||||
log.Printf("[WARNING] Failed setting up new environment")
|
log.Printf("[WARNING] Failed setting up new environment")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if setUsers {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for _, user := range users {
|
for _, user := range users {
|
||||||
|
|||||||
Reference in New Issue
Block a user