Skip to content

Commit

Permalink
runtime: remove deprecated default_backoff (#1518)
Browse files Browse the repository at this point in the history
slated for removal 4 versions ago.

Signed-off-by: clux <[email protected]>
  • Loading branch information
clux authored Jun 19, 2024
1 parent 94f67fe commit 01f9c0c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions kube-runtime/src/watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -837,18 +837,6 @@ pub fn watch_object<K: Resource + Clone + DeserializeOwned + Debug + Send + 'sta
})
}

/// Default watch [`Backoff`] inspired by Kubernetes' client-go.
///
/// This fn has been moved into [`DefaultBackoff`].
#[must_use]
#[deprecated(
since = "0.84.0",
note = "replaced by `watcher::DefaultBackoff`. This fn will be removed in 0.88.0."
)]
pub fn default_backoff() -> DefaultBackoff {
DefaultBackoff::default()
}

/// Default watcher backoff inspired by Kubernetes' client-go.
///
/// The parameters currently optimize for being kind to struggling apiservers.
Expand Down

0 comments on commit 01f9c0c

Please sign in to comment.