Skip to main content

run

Function run 

Source
pub async fn run(client: Client, config: Config)
Expand description

Runs the GCP node upgrade watcher forever. Errors are logged and retried.

Never returns. Dropping this future aborts all of its work, which it must, since it triggers rollouts and only the replica holding the leadership lease may do that. The abort is not synchronous with the drop: a task caught mid-poll runs until its next await point.