mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Enforce model for the json image format
This commit is contained in:
parent
680f40c37e
commit
3e8d1dfb69
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue