summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 276d0ff..7fb7dcb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -195,10 +195,7 @@ impl<'a> Images<'a> {
self.docker
.stream_post::<Body>(&path.join("?"), None)
// todo: give this a proper enum type
- .and_then(|r| {
- println!("parsing {:?}", r);
- serde_json::from_slice::<Value>(&r[..]).map_err(Error::from)
- })
+ .and_then(|r| serde_json::from_slice::<Value>(&r[..]).map_err(Error::from))
}
/// exports a collection of named images,