Skip to main content

version_mismatch_warning

Function version_mismatch_warning 

Source
pub fn version_mismatch_warning() -> Option<String>
Expand description

If the daemon is alive but was started by a cc-switch binary whose version differs from this one, return a warning message. Returns None when the daemon is stopped or its version matches the current binary.

A stale daemon may expose different proxy/api ports or capture semantics, so the user should restart it after upgrading cc-switch.