summaryrefslogtreecommitdiffstats
path: root/src/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/builder.rs')
-rw-r--r--src/builder.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/builder.rs b/src/builder.rs
index a189de5..8e69438 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -643,10 +643,9 @@ impl ContainerOptionsBuilder {
}
/// enable all exposed ports on the container to be mapped to random, available, ports on the host
- pub fn publish_all_ports(
- &mut self,
- ) -> &mut Self {
- self.params.insert("HostConfig.PublishAllPorts", json!(true));
+ pub fn publish_all_ports(&mut self) -> &mut Self {
+ self.params
+ .insert("HostConfig.PublishAllPorts", json!(true));
self
}