Skip to content

Commit 7456c30

Browse files
authored
Merge pull request #74 from ConductorOne/bt/dont_ignore_not_found_in_list
[BB-813] INC-231 404's from List should not be ignored
2 parents 7fb91b0 + df5bdbb commit 7456c30

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/connector/team.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ func (o *teamResourceType) List(ctx context.Context, parentID *v2.ResourceId, pt
106106
for _, team := range teams {
107107
fullTeam, _, err := o.client.Teams.GetTeamByID(ctx, orgID, team.GetID()) //nolint:staticcheck // TODO: migrate to GetTeamBySlug
108108
if err != nil {
109-
if isNotFoundError(resp) {
110-
return nil, "", nil, uhttp.WrapErrors(codes.NotFound, fmt.Sprintf("team: %d not found", team.GetID()))
111-
}
112109
return nil, "", nil, err
113110
}
114111

0 commit comments

Comments
 (0)