Skip to content

Commit

Permalink
workaround to avoid eldesh/dockworker's Issue Idein#21, Idein#31
Browse files Browse the repository at this point in the history
  • Loading branch information
bonotake committed Feb 7, 2019
1 parent a2fb30e commit 9b104bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -707,10 +707,10 @@ impl Docker {
/// /images/prune
pub fn prune_image(&self, dangling: bool) -> Result<PrunedImages> {
let mut param = url::form_urlencoded::Serializer::new(String::new());
param.append_pair(
"filters",
&format!(r#"{{"filters": {{"dangling":{}}} }}"#, dangling.to_string()),
);
// param.append_pair(
// "filters",
// &format!(r#"{{"filters": {{"dangling":{}}} }}"#, dangling.to_string()),
// );
self.http_client()
.post(
self.headers(),
Expand Down

0 comments on commit 9b104bc

Please sign in to comment.