ソースを参照

Image.ParentCommand and Image.ParentConatiner should be stored

Solomon Hykes 12 年 前
コミット
f50dcbe404
1 ファイル変更2 行追加2 行削除
  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
 }