Skip to main content

run

Function run 

Source
pub fn run(json: bool, addr_override: Option<&str>) -> i32
Expand description

Run fdl status.

Address resolution, in order:

  1. --addr <host[:port]> — used exactly as given.
  2. Active env overlay (fdl @cluster status / FDL_ENV=cluster): cluster.controller.host:port, with a loopback retry on connection-refused (an all-tunneled run binds loopback only, and fdl status typically runs on the controller box).
  3. Convention default 127.0.0.1:1337 (single-host / auto-promoted runs), noted on stderr.

Exit code: 0 when the state was fetched and printed; 1 when no endpoint answered.