Skip to content

Commit a5d90a8

Browse files
committed
temporarily revert "easy workaround for the bug"
This reverts commit db35c6b.
1 parent cedf91b commit a5d90a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ impl Docker {
825825
}
826826
let res =
827827
self.http_client()
828-
.post(&headers, &format!("images/create?{}", param.finish()), "")?;
828+
.post(&headers, &format!("/images/create?{}", param.finish()), "")?;
829829
if res.status.is_success() {
830830
Ok(Box::new(
831831
BufReader::new(res)
@@ -1146,7 +1146,7 @@ impl Docker {
11461146
}
11471147

11481148
self.http_client()
1149-
.get(self.headers(), &format!("events?{}", param.finish()))
1149+
.get(self.headers(), &format!("/events?{}", param.finish()))
11501150
.and_then(|res| {
11511151
Ok(Box::new(
11521152
serde_json::Deserializer::from_reader(res)

0 commit comments

Comments
 (0)