pkg-export-kubernetes: Fix formatting to make linter happy
This should have been caught by Travis before this code got merged but
somehow didn't but in the new PR it complains about this code so let's fix
it.
@@ -109,15 +109,15 @@ fn start(_ui: &mut UI) -> result::Result<(), String> {
match Handlebars::new().template_render(MANIFESTFILE, &json) {
Ok(r) => {
- let out = r.lines().filter(|l| {
- *l != ""
- }).collect::<Vec<_>>().join("\n") + "\n";
+ let out = r.lines().filter(|l| *l != "").collect::<Vec<_>>().join(
+ "\n",
+ ) + "\n";
match write.write(out.as_bytes()) {
Ok(_) => Ok(()),
Err(e) => Err(format!("{}", e)),
}
- },
+ }
Err(e) => Err(format!("{}", e)),
}
