diff options
author | softprops <d.tangren@gmail.com> | 2016-01-03 22:25:41 -0500 |
---|---|---|
committer | softprops <d.tangren@gmail.com> | 2016-01-03 22:25:41 -0500 |
commit | eafc83566e0f680e74e02d7831f3807fffce5e96 (patch) | |
tree | 9ca4eec25d0165160ae6e23ee5e7e24ef61b1c63 /README.md | |
parent | 50966067658108d08ad79deefb59d471f9c96fa1 (diff) |
update examples
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ let images = docker.images(); #### list host-local images ```rust -for i in images.list().unwrap() { +for i in images.list(&Default::default()).unwrap() { println!("-> {:?}", i); } ``` @@ -108,7 +108,7 @@ let containers = docker.containers(); #### listing host local containers ```rust -for c in contains.list().unwrap() { +for c in containers.list(&Default::default()).unwrap() { println!("- {:?}", c); } ``` |