diff options
author | Chris Evich <cevich@redhat.com> | 2019-04-05 13:40:18 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2019-05-02 09:26:06 -0400 |
commit | 7f157dbe46ec5f69a4860748e5ea5dd2e5b601ad (patch) | |
tree | adcb119573116741e5b95dfd80b30f722d00a6fc /cmd | |
parent | 7d05ff3fc772a7be4860ed4a3cd59a62f8bb893a (diff) | |
download | podman-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')
-rw-r--r-- | cmd/podman/search.go | 13 | ||||
-rw-r--r-- | cmd/podman/shared/create.go | 5 |
2 files changed, 0 insertions, 18 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 -} diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go index 48476e177..eac2d044d 100644 --- a/cmd/podman/shared/create.go +++ b/cmd/podman/shared/create.go @@ -726,11 +726,6 @@ func ParseCreateOpts(ctx context.Context, c *GenericCLIResults, runtime *libpod. return config, nil } -type namespace interface { - IsContainer() bool - Container() string -} - func CreateContainerFromCreateConfig(r *libpod.Runtime, createConfig *cc.CreateConfig, ctx context.Context, pod *libpod.Pod) (*libpod.Container, error) { runtimeSpec, err := cc.CreateConfigToOCISpec(createConfig) if err != nil { |