Commit 509b824
authored
net: use routes.running instead of routes.config in nns lookup (RedHatQE#2385)
Previously, the code accessed `routes.config` to retrieve route
information from the NodeNetworkState resource. However,
`routes.config` represents the desired configuration, not the
actual state of the node's network routes. To ensure that the
lookup reflects the real, currently active routes on the node,
the code now uses `routes.running`. This change improves accuracy
by querying the live state, which is essential for operations that
depend on the actual network setup.
Signed-off-by: Sergei Volkov <sevolkov@redhat.com>1 parent 6ee6fa2 commit 509b824
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments