Enforce model for the json image format
Upstream-commit: 3e8d1dfb69e74414b3466fee3195432f17445bbc Component: engine
This commit is contained in:
@@ -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