mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-21 05:07:22 +00:00
Enforce model for the json image format
This commit is contained in:
+4
-4
@@ -15,10 +15,10 @@ import (
|
||||
)
|
||||
|
||||
type Image struct {
|
||||
Id string
|
||||
Parent string
|
||||
Comment string
|
||||
Created time.Time
|
||||
Id string `json:"id"`
|
||||
Parent string `json:"parent,omitempty"`
|
||||
Comment string `json:"comment,omitempty"`
|
||||
Created time.Time `json:"created"`
|
||||
graph *Graph
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user