Browse Source

Image.ParentCommand and Image.ParentConatiner should be stored

Solomon Hykes 12 years ago
parent
commit
f50dcbe404
1 changed files with 2 additions and 2 deletions
  1. 2 2
      image.go

+ 2 - 2
image.go

@@ -19,8 +19,8 @@ type Image struct {
 	Parent          string    `json:"parent,omitempty"`
 	Parent          string    `json:"parent,omitempty"`
 	Comment         string    `json:"comment,omitempty"`
 	Comment         string    `json:"comment,omitempty"`
 	Created         time.Time `json:"created"`
 	Created         time.Time `json:"created"`
-	ParentContainer string    `json:-`
-	ParentCommand   []string  `json:-`
+	ParentContainer string    `json:"parent_container,omitempty"`
+	ParentCommand   []string  `json:"parent_command,omitempty"`
 	graph           *Graph
 	graph           *Graph
 }
 }