Skip to content

Commit

Permalink
Merge branch 'main' of github.com:demeter-run/doom-patrol into feat/i…
Browse files Browse the repository at this point in the history
…nit-from-snapshot
  • Loading branch information
gonzalezzfelipe committed Nov 7, 2024
2 parents b7b4fc4 + db2a685 commit b52d054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async fn main() -> Result<()> {
let context = Arc::new(K8sContext::new(client.clone(), config));

// Create controller for MyApp custom resource
let api: Api<HydraDoomNode> = Api::all(client);
let api: Api<HydraDoomNode> = Api::default_namespaced(client);
info!("Running controller.");
let controller = Controller::new(api, Default::default())
.run(reconcile, error_policy, context.clone())
Expand Down
2 changes: 1 addition & 1 deletion src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ impl K8sContext {
}

async fn patch_statuses(&self) -> anyhow::Result<()> {
let api: Api<HydraDoomNode> = Api::all(self.client.clone());
let api: Api<HydraDoomNode> = Api::default_namespaced(self.client.clone());
let crds = api.list(&ListParams::default()).await?;

let mut awaitables = vec![];
Expand Down

0 comments on commit b52d054

Please sign in to comment.