We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b128e commit ad8d634Copy full SHA for ad8d634
1 file changed
crates/stackable-operator/src/commons/product_image_selection.rs
@@ -199,8 +199,9 @@ impl ProductImage {
199
}
200
};
201
202
- // Trim the start to ensure no double slashes are produced below
203
- let image_name = image_name.trim_start_matches('/');
+ // Trim leading ans trailing whitespace and also trim the start to ensure no double
+ // slashes are produced below
204
+ let image_name = image_name.trim().trim_start_matches('/');
205
let app_version = format!("{product_version}-stackable{stackable_version}");
206
let app_version_label_value = Self::prepare_app_version_label_value(&app_version)?;
207
let image = format!("{image_repository}/{image_name}:{app_version}");
0 commit comments