Skip to content

Commit

Permalink
Return ErrNotFound if team is not in project
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosk committed Sep 22, 2020
1 parent d97adaa commit 2159d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/client_repository_teamaccess.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (c *TeamAccessClient) Get(ctx context.Context, teamName string) (gitprovide
if err != nil {
return nil, err
}
return nil, nil
return nil, gitprovider.ErrNotFound
}

// List lists the team access control list for this repository.
Expand Down

0 comments on commit 2159d57

Please sign in to comment.