diff options
author | Sandro Santilli <strk@kbt.io> | 2017-03-21 01:55:00 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-21 08:55:00 +0800 |
commit | f73e7344111645b836e767bbf80b96834651805f (patch) | |
tree | 0315cb59a9b56bcb594d2cd4dccf385557e834ba /models/org_team.go | |
parent | 888dee3b5f931062ea97e57130b26d1943e5173e (diff) | |
download | gitea-f73e7344111645b836e767bbf80b96834651805f.tar.gz gitea-f73e7344111645b836e767bbf80b96834651805f.zip |
Run "make fmt" with go-1.6 (#1333)
Diffstat (limited to 'models/org_team.go')
-rw-r--r-- | models/org_team.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/org_team.go b/models/org_team.go index db25e61547..115e13feab 100644 --- a/models/org_team.go +++ b/models/org_team.go @@ -143,7 +143,7 @@ func (t *Team) removeRepository(e Engine, repo *Repository, recalculate bool) (e if err != nil { return fmt.Errorf("getTeamUsersByTeamID: %v", err) } - for _, teamUser:= range teamUsers { + for _, teamUser := range teamUsers { has, err := hasAccess(e, teamUser.UID, repo, AccessModeRead) if err != nil { return err |