Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed Jul 2, 2021
1 parent 8ac7c48 commit 03f9800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/configmapgen_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async fn main() -> Result<()> {
});

Controller::new(cmgs, ListParams::default())
.owns(cms, (), ListParams::default())
.owns(cms, ListParams::default())
.reconcile_all_on(reload_rx.map(|_| ()))
.shutdown_on_signal()
.run(reconcile, error_policy, Context::new(Data { client }))
Expand Down
2 changes: 1 addition & 1 deletion kube-runtime/src/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ where
/// let cmgs = Api::<ConfigMapGenerator>::all(client.clone());
/// let cms = Api::<ConfigMap>::all(client.clone());
/// Controller::new(cmgs, ListParams::default())
/// .owns(cms, (), ListParams::default())
/// .owns(cms, ListParams::default())
/// .run(reconcile, error_policy, context)
/// .for_each(|res| async move {
/// match res {
Expand Down

0 comments on commit 03f9800

Please sign in to comment.