diff options
Diffstat (limited to 'cmd/kpod/images.go')
-rw-r--r-- | cmd/kpod/images.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/kpod/images.go b/cmd/kpod/images.go index 2b1003ebd..6384d61b8 100644 --- a/cmd/kpod/images.go +++ b/cmd/kpod/images.go @@ -155,8 +155,13 @@ func genImagesFormat(format string, quiet, noHeading, digests bool) string { func imagesToGeneric(templParams []imagesTemplateParams, JSONParams []imagesJSONParams) (genericParams []interface{}) { if len(templParams) > 0 { for _, v := range templParams { + fmt.Println(v) + fmt.Printf("%T\n", v) genericParams = append(genericParams, interface{}(v)) } + fmt.Println("###") + fmt.Println(genericParams) + fmt.Println("###") return } for _, v := range JSONParams { @@ -178,6 +183,9 @@ func (i *imagesTemplateParams) headerMap() map[string]string { } values[key] = strings.ToUpper(splitCamelCase(value)) } + fmt.Println("!!!") + fmt.Printf("%+v\n", values) + fmt.Println("!!!") return values } |