Skip to content

Commit 85b73d3

Browse files
Update crates/stackable-webhook/src/servers/mutating_webhook.rs
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
1 parent a070857 commit 85b73d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/stackable-webhook/src/servers/mutating_webhook.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ impl<H, S, R> MutatingWebhook<H, S, R> {
142142
}
143143

144144
fn http_path(&self) -> String {
145-
format!("/mutate/{}", self.mutating_webhook_configuration.name_any())
145+
let mutating_webhook_configuration_name = self.mutating_webhook_configuration.name_any();
146+
format!("/mutate/{mutating_webhook_configuration_name}")
146147
}
147148
}
148149

0 commit comments

Comments
 (0)