summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorsoftprops <d.tangren@gmail.com>2018-12-24 13:49:21 +0900
committersoftprops <d.tangren@gmail.com>2018-12-24 13:49:21 +0900
commit233235645004d6694a91be14c62e16cefd6429f4 (patch)
treed6b1ee0ab8e81eda92bd2d3976888cfd7d02d5d0 /examples
parentfcc4f7b9c648290887d90c5d8fe91b70e594870d (diff)
render id
Diffstat (limited to 'examples')
-rw-r--r--examples/images.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/images.rs b/examples/images.rs
index ab36b3d..de04ab9 100644
--- a/examples/images.rs
+++ b/examples/images.rs
@@ -9,7 +9,11 @@ fn main() {
.list(&Default::default())
.map(|images| {
for i in images {
- println!("{:?}", i.repo_tags.unwrap_or_else(|| vec!["none".into()]));
+ println!(
+ "{} {:?}",
+ i.id,
+ i.repo_tags.unwrap_or_else(|| vec!["none".into()])
+ );
}
})
.map_err(|e| eprintln!("Error: {}", e));