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 a method to host to retrieve the operational status #15

Merged
merged 2 commits into from Feb 19, 2019

Conversation

dhellmann
Copy link
Member

Instead of expecting users of the BareMetalHost to understand how to
fetch the status from the label, add a method.

Signed-off-by: Doug Hellmann dhellmann@redhat.com

Copy link
Member

@russellb russellb left a comment

Choose a reason for hiding this comment

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

lgtm, feel free to merge after squashing

Instead of expecting users of the BareMetalHost to understand how to
fetch the status from the label, add a method.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
There's no reason to expose SetLabel, so change it to setLabel. This
requires adding SetHardwareProfile, which should be there anyway.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
@dhellmann dhellmann merged commit 3af40c3 into metal3-io:master Feb 19, 2019
cynepco3hahue pushed a commit to cynepco3hahue/baremetal-operator that referenced this pull request Jul 3, 2019
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