forked from mystiq/dex
Rename variables to stop shadowing package name
This commit is contained in:
parent
a9f71e378f
commit
e876353128
1 changed files with 5 additions and 5 deletions
|
@ -390,12 +390,12 @@ func (c *githubConnector) userGroups(ctx context.Context, client *http.Client) (
|
||||||
}
|
}
|
||||||
|
|
||||||
groups := make([]string, 0)
|
groups := make([]string, 0)
|
||||||
for _, org := range orgs {
|
for _, o := range orgs {
|
||||||
if teams, ok := orgTeams[org]; !ok {
|
if teams, ok := orgTeams[o]; !ok {
|
||||||
groups = append(groups, org)
|
groups = append(groups, o)
|
||||||
} else {
|
} else {
|
||||||
for _, team := range teams {
|
for _, t := range teams {
|
||||||
groups = append(groups, formatTeamName(org, team))
|
groups = append(groups, formatTeamName(o, t))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue