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

Unresolved fact fix #539

Merged
merged 1 commit into from Nov 25, 2022
Merged

Unresolved fact fix #539

merged 1 commit into from Nov 25, 2022

Conversation

jordanbreen28
Copy link
Contributor

@jordanbreen28 jordanbreen28 commented Nov 25, 2022

Prior to this PR, when run on non-darwin systems with no java installed, the custom fact java_version was unresolved.

This was due to an incorrect return type set in
lib/facter/java_version.rb (returned a boolean) as oppose to a string/nil.

This PR hopes to rectify this issue, by ensuring that the returned value for java_version is in the correct format.

@jordanbreen28 jordanbreen28 requested a review from a team as a code owner November 25, 2022 13:50
Prior to this commit, when run on non-darwin systems with no java
installed, the custom fact java_version was unresolved.

This was due to an incorrect return type set in
lib/facter/java_version.rb (returned a boolean).

This commit hopes to rectify this issue, by ensuring that the returned
value for java_version is in the correct format.
Copy link
Contributor

@GSPatton GSPatton left a comment

Choose a reason for hiding this comment

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

looks good

@GSPatton GSPatton merged commit d3d96a7 into main Nov 25, 2022
@GSPatton GSPatton deleted the 538-unresolved-fact-fix branch November 25, 2022 14:12
@jordanbreen28 jordanbreen28 changed the title (538) - Unresolved fact fix Unresolved fact fix Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants