summaryrefslogtreecommitdiff
path: root/cmd/podman/search.go
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-04-05 13:40:18 -0400
committerChris Evich <cevich@redhat.com>2019-05-02 09:26:06 -0400
commit7f157dbe46ec5f69a4860748e5ea5dd2e5b601ad (patch)
treeadcb119573116741e5b95dfd80b30f722d00a6fc /cmd/podman/search.go
parent7d05ff3fc772a7be4860ed4a3cd59a62f8bb893a (diff)
downloadpodman-7f157dbe46ec5f69a4860748e5ea5dd2e5b601ad.tar.gz
podman-7f157dbe46ec5f69a4860748e5ea5dd2e5b601ad.tar.bz2
podman-7f157dbe46ec5f69a4860748e5ea5dd2e5b601ad.zip
Remove two bits of dead code
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'cmd/podman/search.go')
-rw-r--r--cmd/podman/search.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmd/podman/search.go b/cmd/podman/search.go
index 13948aef0..b236f3055 100644
--- a/cmd/podman/search.go
+++ b/cmd/podman/search.go
@@ -118,16 +118,3 @@ func searchToGeneric(params []image.SearchResult) (genericParams []interface{})
}
return genericParams
}
-
-func genSearchOutputMap() map[string]string {
- io := image.SearchResult{}
- v := reflect.Indirect(reflect.ValueOf(io))
- values := make(map[string]string)
-
- for i := 0; i < v.NumField(); i++ {
- key := v.Type().Field(i).Name
- value := key
- values[key] = strings.ToUpper(splitCamelCase(value))
- }
- return values
-}