fix virtual size on images

This commit is contained in:
Victor Vieux
2013-06-14 10:05:01 +00:00
parent bf63cb9045
commit 00cf2a1fa2
4 changed files with 17 additions and 19 deletions
+11 -12
View File
@@ -7,13 +7,12 @@ type APIHistory struct {
}
type APIImages struct {
Repository string `json:",omitempty"`
Tag string `json:",omitempty"`
ID string `json:"Id"`
Created int64
Size int64
ParentSize int64
Repository string `json:",omitempty"`
Tag string `json:",omitempty"`
ID string `json:"Id"`
Created int64
Size int64
VirtualSize int64
}
type APIInfo struct {
@@ -28,11 +27,11 @@ type APIInfo struct {
type APIContainers struct {
ID string `json:"Id"`
Image string
Command string
Created int64
Status string
Ports string
Image string
Command string
Created int64
Status string
Ports string
SizeRw int64
SizeRootFs int64
}