Merge pull request #290 from nalind/clientsize

Fix client size reporting
This commit is contained in:
Antonio Murdaca 2016-12-20 15:22:40 +01:00 committed by GitHub
commit 99590fa2eb

View file

@ -74,7 +74,7 @@ var listImageCommand = cli.Command{
fmt.Printf("Digest: %s\n", digest)
}
if image.Size_ != nil {
fmt.Printf("Size: %d\n", image.Size_)
fmt.Printf("Size: %d\n", *image.Size_)
}
}
return nil
@ -115,7 +115,7 @@ var imageStatusCommand = cli.Command{
fmt.Printf("Digest: %s\n", digest)
}
if image.Size_ != nil {
fmt.Printf("Size: %d\n", image.Size_)
fmt.Printf("Size: %d\n", *image.Size_)
}
return nil
},