Skip to content

Commit b3d6cd7

Browse files
committed
chore: Rename path to chart_source, and use the Debug impl
1 parent c595df4 commit b3d6cd7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rust/stackable-cockpit/src/platform/manifests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ pub enum Error {
5757
},
5858

5959
/// This error indicates that the Helm chart source kind is not supported.
60-
#[snafu(display("local Helm chart sources are not yet supported (url: {url})"))]
61-
UnsupportedChartSource { url: String },
60+
#[snafu(display("local Helm chart sources are not yet supported (source: {chart_source:?})"))]
61+
UnsupportedChartSource { chart_source: String },
6262

6363
/// This error indicates that Helm chart options could not be serialized
6464
/// into YAML.
@@ -120,7 +120,7 @@ pub trait InstallManifestsExt {
120120
helm::ChartSourceKind::Oci => &helm_chart.repo.url,
121121
helm::ChartSourceKind::Local => {
122122
return UnsupportedChartSourceSnafu {
123-
url: helm_chart.repo.url.clone(),
123+
chart_source: helm_chart.repo.url.clone(),
124124
}
125125
.fail();
126126
}

0 commit comments

Comments
 (0)