mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Though not obvious as currently written, PreferNodeIP() has different semantics with legacy and external cloud providers, since one kind of node IP value never gets passed in the external cloud provider case. Split it into two functions to make this clearer (and to prepare for adding new external-cloud-only semantics, and to make it clearer that some of the code can be deleted when legacy cloud providers go away). |
||
---|---|---|
.. | ||
setters_test.go | ||
setters.go |