Merge pull request #290 from nalind/clientsize
Fix client size reporting
This commit is contained in:
commit
99590fa2eb
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ var listImageCommand = cli.Command{
|
||||||
fmt.Printf("Digest: %s\n", digest)
|
fmt.Printf("Digest: %s\n", digest)
|
||||||
}
|
}
|
||||||
if image.Size_ != nil {
|
if image.Size_ != nil {
|
||||||
fmt.Printf("Size: %d\n", image.Size_)
|
fmt.Printf("Size: %d\n", *image.Size_)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
@ -115,7 +115,7 @@ var imageStatusCommand = cli.Command{
|
||||||
fmt.Printf("Digest: %s\n", digest)
|
fmt.Printf("Digest: %s\n", digest)
|
||||||
}
|
}
|
||||||
if image.Size_ != nil {
|
if image.Size_ != nil {
|
||||||
fmt.Printf("Size: %d\n", image.Size_)
|
fmt.Printf("Size: %d\n", *image.Size_)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue