kube-rs / kube

Rust Kubernetes client and controller runtime
https://kube.rs
Apache License 2.0
3.03k stars 314 forks source link

Fix docs mentioning Event::Restarted #1546

Closed rorosen closed 3 months ago

rorosen commented 3 months ago

Replace leftovers of Event::Restarted with Event::Init in watcher code documentation.

Motivation

The code documentation in watcher.rs still mentions events of type Event::Restarted, although it seems not to exist anymore since https://github.com/kube-rs/kube/pull/1499 was merged.

Solution

Replace both occurrences of Event::Restarted with Event::Init.