Skip to content

Commit fd23298

Browse files
committed
chore: Clean up format!
1 parent e3f3ed2 commit fd23298

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rust/stackable-cockpit/src/oci.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ pub async fn get_oci_index<'a>() -> Result<HashMap<&'a str, ChartSourceMetadata>
135135
},
136136
);
137137
}
138-
let base_url = format!("https://{}/api/v2.0", HELM_OCI_BASE);
138+
let base_url = format!("https://{HELM_OCI_BASE}/api/v2.0");
139139

140140
// fetch all operators
141141
let url = format!(
142-
"{}/repositories?page_size={}&q=name=~sdp-charts/",
143-
base_url, 100
142+
"{base_url}/repositories?page_size={page_size}&q=name=~sdp-charts/",
143+
page_size = 100
144144
);
145145

146146
// reuse connections

rust/stackablectl/src/cmds/operator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ async fn build_source_index_file_list<'a>(
467467
ChartSourceType::OCI => {
468468
source_index_files = oci::get_oci_index().await.context(OciSnafu)?;
469469

470-
debug!("OCI Repository entries: {:?}", source_index_files);
470+
debug!(count = source_index_files.len(), "OCI Repository entries");
471471
}
472472
ChartSourceType::Repo => {
473473
for helm_repo_name in [

0 commit comments

Comments
 (0)