We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cedf91b commit a5d90a8Copy full SHA for a5d90a8
src/docker.rs
@@ -825,7 +825,7 @@ impl Docker {
825
}
826
let res =
827
self.http_client()
828
- .post(&headers, &format!("images/create?{}", param.finish()), "")?;
+ .post(&headers, &format!("/images/create?{}", param.finish()), "")?;
829
if res.status.is_success() {
830
Ok(Box::new(
831
BufReader::new(res)
@@ -1146,7 +1146,7 @@ impl Docker {
1146
1147
1148
1149
- .get(self.headers(), &format!("events?{}", param.finish()))
+ .get(self.headers(), &format!("/events?{}", param.finish()))
1150
.and_then(|res| {
1151
1152
serde_json::Deserializer::from_reader(res)
0 commit comments