Browse Source

Image.ParentCommand and Image.ParentConatiner should be stored

Solomon Hykes 12 năm trước cách đây
mục cha
commit
f50dcbe404
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      image.go

+ 2 - 2
image.go

@@ -19,8 +19,8 @@ type Image struct {
 	Parent          string    `json:"parent,omitempty"`
 	Comment         string    `json:"comment,omitempty"`
 	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
 }