Skip to content
Snippets Groups Projects
Commit 2c024d8c authored by Ed Tan's avatar Ed Tan
Browse files

Fix golint issues

parent 8c75d85b
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment