Skip to content

Commit 079fd59

Browse files
committed
chore: cleanup
1 parent d2c13cd commit 079fd59

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/deployment/k8sm8/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub async fn apply(
161161
} else {
162162
LOGGER.error(&format!(
163163
"cannot apply object without valid TypeMeta {:?}",
164-
&obj
164+
obj
165165
));
166166
LOGGER.error("please add apiVersion and kind to the object");
167167
continue;

src/templates/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ impl TemplateManager {
215215
.read_file(config_file, Some(&"./k8s/templates".to_string()))
216216
.unwrap();
217217

218-
acc.0.push_str(&format!("\n {:?}: |", &config));
218+
acc.0.push_str(&format!("\n {:?}: |", config));
219219

220220
for line in config_content.lines() {
221-
acc.0.push_str(&format!("\n {}", &line))
221+
acc.0.push_str(&format!("\n {}", line))
222222
}
223223

224224
acc.1.push(config);

0 commit comments

Comments
 (0)