Skip to content

Commit

Permalink
addressing nits
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Fontes <[email protected]>
  • Loading branch information
lxfontes committed Jul 15, 2024
1 parent e275b4f commit f6af671
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ async fn pod_template(config: &WasmCloudHostConfig, ctx: Arc<Context>) -> Result
};

items = discover_secret_certificates(
config.namespace().unwrap_or_default().as_str(),
secret_name.as_str(),
&config.namespace().unwrap_or_default(),
secret_name,
&ctx,
)
.await?;
Expand Down Expand Up @@ -467,8 +467,8 @@ async fn pod_template(config: &WasmCloudHostConfig, ctx: Arc<Context>) -> Result
}
};
items = discover_configmap_certificates(
config.namespace().unwrap_or_default().as_str(),
configmap_name.as_str(),
&config.namespace().unwrap_or_default(),
configmap_name,
&ctx,
)
.await?;
Expand Down

0 comments on commit f6af671

Please sign in to comment.