-
Notifications
You must be signed in to change notification settings - Fork 96
🌱 Remove usage of FailureReason and FailureMessage (baremetal) #1716
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
base: tg/pre--remove-failure-reason--baremetal--on-top-main
Are you sure you want to change the base?
Changes from all commits
3d01d2d
1fa1406
8c7c7a9
8c81c6c
5b3a35d
98bcfff
fb67a97
a5521cd
7d834ca
cda32ca
700d1ec
f71d8a2
7c57394
401a474
25890c4
fc375ce
393ecd6
8c1986a
7133120
527de14
826c0d4
523dd7b
49a275c
0726e9a
ef94736
0385349
12cf08b
69642d9
2b851a9
18d4d23
5d76f65
404560a
ef05ede
3ea2349
56dda26
62f7a28
1101547
a0e24a6
b33f086
658bff1
43c1e75
0139e5f
598e51d
0b1bb05
a38311f
288665e
b74bdd0
ba0f15e
0ad280d
29cec0b
de8f4a9
fdf5e6b
29df3e5
3e05e2c
a6b27d4
ec75c1b
f02171b
c617211
05e8b9b
36a98e4
7567f35
63c9e19
9b8ff82
156f723
5469266
8a5442e
c6d202f
6882d40
566dd86
2086a34
3b45854
de7c875
6eba6e0
c4235a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| /* | ||
| Copyright 2025 The Kubernetes Authors. | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| */ | ||
|
|
||
| // Package baremetalutils implements helper functions for working with baremetal. | ||
janiskemper marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| package baremetalutils | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure right now - but if this change is also unrelated to the PR, then I would ask you to create another one
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I moved the code. Creating these helpers was needed, so that the implementation could re-use existing code.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @janiskemper here the new PR: 🌱 Refactoring PR for: Remove usage of FailureReason and FailureMessage (baremetal) by guettli · Pull Request #1735 · syself/cluster-api-provider-hetzner This makes the current PR smaller. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we not reconcile the host if the Machine is remediated? Then we also cannot deprovision anymore, can we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right. Thank you!
This is the wrong place for skipping Reconcile. This was moved to hbmm.
Mirroring the Condition to the host is still done.
Additionally, I added a test, so that this error will be noticed in the future.