Commit c3fa22e
committed
Make OvnClient.updateRefs() a no-op
updateRefs used to derive component control socket paths from the
system run directory and each daemon's tracked PID. Now that
GetProcessInfo no longer tracks PIDs (it probes the control socket
directly), the derived paths collapse to invalid values like
".../ovn-northd.0.ctl" that overwrite whatever the caller
configured explicitly.
Callers that previously read the derived socket paths should now
configure them up front via the existing Database.{NB,SB}.Socket.Control
and Service.Northd.Socket.Control fields, populated from CLI flags.
The method is kept as a no-op rather than deleted so that every
existing call site (which there are several of across the package)
compiles unchanged.
OvsClient.updateRefs is untouched; ovs_exporter still needs the
PID-based socket derivation for Open_vSwitch.1 parent c04b1a3 commit c3fa22e
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
150 | 154 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 155 | | |
0 commit comments