Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthaI committed Aug 12, 2024
1 parent ccda658 commit c74602d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions okta/table_okta_signon_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,6 @@ func getOktaPolicyAssociatedResources(ctx context.Context, d *plugin.QueryData,
var nextPolicyMappings []*oktaV4.PolicyMapping
resp, err = resp.Next(&nextPolicyMappings)
if err != nil {
if strings.Contains(strings.ToLower(err.Error()), "not found") || strings.Contains(err.Error(), "404") {
return nil, nil
}
logger.Error("getOktaPolicyAssociatedResources", "list_policies_paging_error", err)
return nil, err
}
Expand Down

0 comments on commit c74602d

Please sign in to comment.