Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: issue #107 #108

Merged
merged 3 commits into from
Sep 10, 2023
Merged

fix: issue #107 #108

merged 3 commits into from
Sep 10, 2023

Conversation

christiangda
Copy link
Contributor

This should fix issue #107 , but it is hard to test mocking the Google API method #107

}
return u, err
return u, nil

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christiangda why not leaving it as such ? "return u, err" ?

}
return g, err
return g, nil
Copy link

@laurentdelosieresfact laurentdelosieresfact Jul 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christiangda why not leaving it as such ? "return g, err" ?


return m, err
return m, nil
Copy link

@laurentdelosieresfact laurentdelosieresfact Jul 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christiangda why not leaving it as such ? "return m, err" ?

Copy link

@laurentdelosieresfact laurentdelosieresfact left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @christiangda ,

The fix looks solid to me and this definitely explains why some groups were deleted and other were not during the same program execution. I checked how the function "Pages()" is reacting upon error, and it always gives an error when an HTTP error code is different from 2xx, which is ok for me 👍

@laurentdelosieresfact
Copy link

Hello @christiangda ,

We have been running the idp-scim with the changes over the past 2 months, and we have not had any issues, everything is running smoothy. Could you merge the PR ? :pray.

Thank you in advance,

@snavarro-factorial
Copy link

+1 From my side too; we had no issues of groups being deleted and recreated randomly.

@christiangda christiangda added this to the v0.0.18 milestone Sep 10, 2023
@christiangda christiangda added the bug Something isn't working label Sep 10, 2023
@christiangda christiangda self-assigned this Sep 10, 2023
@christiangda christiangda added this pull request to the merge queue Sep 10, 2023
Merged via the queue into main with commit 1d50740 Sep 10, 2023
@christiangda christiangda deleted the fix-issue-107 branch October 21, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants