pub fn wait_healthy(client: &HttpClient, seconds: u64) -> Result<(), String>Expand description
Waits for the node to answer /healthz.
Polled rather than assumed, because everything after this point — creating a repository, minting an invite — is a request to a daemon a service manager has only just been asked to start, and the failure when it is not up yet is a connection refused that reads like a broken install.
§Errors
Returns what the last attempt saw, after seconds.