Enforce model for the json image format

Upstream-commit: 3e8d1dfb69e74414b3466fee3195432f17445bbc
Component: engine
This commit is contained in:
creack
2013-03-21 03:52:58 -07:00
parent dd9ffc73ce
commit 4f02c42683
+4 -4
View File
@@ -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
}