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 17b0d5f commit 0bb4ba9Copy full SHA for 0bb4ba9
1 file changed
src/platform/release/spec.rs
@@ -68,12 +68,9 @@ impl ReleaseSpec {
68
Ok(())
69
}
70
71
- pub fn uninstall<T>(&self, namespace: T) -> Result<(), ReleaseUninstallError>
72
- where
73
- T: AsRef<str>,
74
- {
75
- for (product_name, product) in &self.products {
76
- helm::uninstall_release(&product_name, namespace.as_ref(), true)
+ pub fn uninstall(&self, namespace: &str) -> Result<(), ReleaseUninstallError> {
+ for (product_name, _) in &self.products {
+ helm::uninstall_release(product_name, namespace, true)
77
.context(HelmUninstallSnafu {})?;
78
79
0 commit comments