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