summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 595157b..0932994 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -804,7 +804,7 @@ impl Docker {
"{}://{}:{}",
host.scheme_part().map(|s| s.as_str()).unwrap(),
host.host().unwrap().to_owned(),
- host.port().unwrap_or(80)
+ host.port_part().unwrap_or(80)
);
match host.scheme_part().map(|s| s.as_str()) {