Fix golint issues
This commit is contained in:
parent
8c75d85b60
commit
2c024d8caf
1 changed files with 1 additions and 2 deletions
|
@ -357,9 +357,8 @@ func (b *bitbucketConnector) getGroups(ctx context.Context, client *http.Client,
|
|||
filteredTeams := filterTeams(bitbucketTeams, b.teams)
|
||||
if len(filteredTeams) == 0 {
|
||||
return nil, fmt.Errorf("bitbucket: user %q not in required teams", userLogin)
|
||||
} else {
|
||||
return filteredTeams, nil
|
||||
}
|
||||
return filteredTeams, nil
|
||||
} else if groupScope {
|
||||
return bitbucketTeams, nil
|
||||
}
|
||||
|
|
Reference in a new issue