diff options
author | Sascha Grunert <sgrunert@suse.com> | 2019-03-22 09:56:34 +0100 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2019-04-04 09:07:05 +0200 |
commit | 81a4451fea812d65ddef4b3a4fc821cbfefd7670 (patch) | |
tree | 2b7fe3a3df1f08a106c012a74580604020421bd6 /cmd/podman/trust_set_show.go | |
parent | 42830ab711aadb69e344a58627c6c7cfee45ddc9 (diff) | |
download | podman-81a4451fea812d65ddef4b3a4fc821cbfefd7670.tar.gz podman-81a4451fea812d65ddef4b3a4fc821cbfefd7670.tar.bz2 podman-81a4451fea812d65ddef4b3a4fc821cbfefd7670.zip |
Add deadcode linter
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'cmd/podman/trust_set_show.go')
-rw-r--r-- | cmd/podman/trust_set_show.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/podman/trust_set_show.go b/cmd/podman/trust_set_show.go index 626d27aae..cd6c4897e 100644 --- a/cmd/podman/trust_set_show.go +++ b/cmd/podman/trust_set_show.go @@ -7,7 +7,6 @@ import ( "strings" "github.com/containers/buildah/pkg/formats" - "github.com/containers/image/types" "github.com/containers/libpod/cmd/podman/cliconfig" "github.com/containers/libpod/cmd/podman/libpodruntime" "github.com/containers/libpod/libpod/image" @@ -237,10 +236,6 @@ func isValidTrustType(t string) bool { return false } -func getDefaultPolicyPath() string { - return trust.DefaultPolicyPath(&types.SystemContext{}) -} - func getPolicyJSON(policyContentStruct trust.PolicyContent, systemRegistriesDirPath string) (map[string]map[string]interface{}, error) { registryConfigs, err := trust.LoadAndMergeConfig(systemRegistriesDirPath) if err != nil { |