Skip to content

(maint) Fix bug with detecting ABS service #106

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

Merged
merged 1 commit into from
Oct 9, 2020
Merged

Conversation

sbeaulie
Copy link
Contributor

@sbeaulie sbeaulie commented Oct 9, 2020

Status

[Ready for Merge]

Description

Before this change the code would try to check if an object was ABS
by using is_a? which is only for instances of a class. It also compared
with ABS.class which returns the Class class.
Now fixed by comparing the object to the static class

Related Issues

Todos

  • Tests
  • Documentation

Reviewers

@puppetlabs/dio
@highb
@briancain

Before this change the code would try to check if an object was ABS
by using is_a? which is only for instances of a class. It also compared
with ABS.class which returns the Class class.
Now fixed by comparing the object to the static class
@sbeaulie sbeaulie requested a review from jcoconnor October 9, 2020 15:21
@sbeaulie sbeaulie requested review from briancain, highb and a team as code owners October 9, 2020 15:21
@genebean genebean merged commit 3f8417d into master Oct 9, 2020
@genebean genebean deleted the fix-endpoint-check branch October 9, 2020 15:42
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.

2 participants