docs: differing Robot server name and Node name not supported#1170
docs: differing Robot server name and Node name not supported#1170lukasmetzner wants to merge 3 commits intomainfrom
Conversation
7870996 to
4857bd0
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1170 +/- ##
==========================================
+ Coverage 68.02% 68.93% +0.90%
==========================================
Files 24 24
Lines 2643 2643
==========================================
+ Hits 1798 1822 +24
+ Misses 670 647 -23
+ Partials 175 174 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Could we have a unit test for this please? |
|
I am trying to remember the precise reason for this check and the "nil" return. IIRC, this is coming from cluster-api-provider-hetzner:
I am not sure why the docs from the same PR contradict this. I think we need to support both behaviours, as CAPH relies on this. @janiskemper @guettli is that still the case or am I misremembering the origin of this check? |
|
PR that introduced this check confirms my understanding: syself#32 |
|
@apricote I read your comment and together with the PR that you linked I'm sure you are right. I don't know what that means for this PR! |
|
@apricote Then lets adjust the docs, as this is not supported? I will extend the comment in the code and update the unit test. |
eaad982 to
d8914b3
Compare
In the docs we state:
In the code, we emit a warning event if the Robot API name differs from the Node name, but additionally we return
nilfor the server object.