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

add ListServicesPaginated to services api (and tests) #260

Merged
merged 7 commits into from Feb 26, 2021

Conversation

c6h12o6
Copy link

@c6h12o6 c6h12o6 commented Jan 11, 2021

Added new functionality to easily leverage pagedGet() in ListServices. Does not alter any existing functionality.

Copy link
Collaborator

@theckman theckman left a comment

Choose a reason for hiding this comment

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

I think overall this is something we'd like to get merged in. There are some merge conflicts that need resolved, as well as some other non-conflicts that need updating, before we could merge this in.

Please let me know if you have any questions or comments on my feedback. Thank you for the contribution! 👍

service.go Outdated Show resolved Hide resolved
service.go Outdated Show resolved Hide resolved
client.go Outdated Show resolved Hide resolved
client.go Show resolved Hide resolved
@theckman theckman added this to the v1.4.0 milestone Feb 20, 2021
@c6h12o6
Copy link
Author

c6h12o6 commented Feb 22, 2021

Comments addressed @theckman, I used the strings.Contains() approach from above, but if theres a reason to iterate manually, I can do that too.

Copy link
Collaborator

@theckman theckman left a comment

Choose a reason for hiding this comment

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

I'm sorry, I noticed two more minor things and then this is ready for merging!

service.go Outdated Show resolved Hide resolved
service_test.go Outdated Show resolved Hide resolved
@c6h12o6
Copy link
Author

c6h12o6 commented Feb 25, 2021

@theckman done once again.

@theckman
Copy link
Collaborator

@c6h12o6 git is awful and caught a merge conflict based on another PR we merged in. I'll fix it on merge in just a moment.

@theckman theckman merged commit 1a0c44e into PagerDuty:master Feb 26, 2021
@theckman
Copy link
Collaborator

@c6h12o6 thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants