diff options
author | Joxit <Joxit972@gmail.com> | 2017-01-28 23:05:37 +0100 |
---|---|---|
committer | Joxit <Joxit972@gmail.com> | 2017-01-29 02:29:09 +0100 |
commit | 3cee4ed18b6e349b0131407ab3a0501b91dd6eb2 (patch) | |
tree | 3a339ffd583c38b44974770486cc86be924f95aa /src/lib.rs | |
parent | ef7ad85bb470775a196a47f0bf501cfd8ec5b55b (diff) |
[Docker Host] Support for non-https remote API
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -515,7 +515,7 @@ impl Docker { Docker { transport: Transport::Tcp { client: client, - host: format!("https://{}:{}", host.host_str().unwrap().to_owned(), host.port_or_known_default().unwrap()), + host: format!("{}://{}:{}", host.scheme(), host.host_str().unwrap().to_owned(), host.port_or_known_default().unwrap()), }, } } |