summaryrefslogtreecommitdiff
path: root/cmd/podman/system/varlink.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/system/varlink.go')
-rw-r--r--cmd/podman/system/varlink.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/podman/system/varlink.go b/cmd/podman/system/varlink.go
index de855eba6..6a38b3d28 100644
--- a/cmd/podman/system/varlink.go
+++ b/cmd/podman/system/varlink.go
@@ -8,7 +8,6 @@ import (
"github.com/containers/libpod/cmd/podman/registry"
"github.com/containers/libpod/pkg/domain/entities"
"github.com/spf13/cobra"
- "github.com/spf13/pflag"
)
var (
@@ -40,13 +39,6 @@ func init() {
flags.SetNormalizeFunc(aliasTimeoutFlag)
}
-func aliasTimeoutFlag(_ *pflag.FlagSet, name string) pflag.NormalizedName {
- if name == "timeout" {
- name = "time"
- }
- return pflag.NormalizedName(name)
-}
-
func varlinkE(cmd *cobra.Command, args []string) error {
uri := registry.DefaultVarlinkAddress
if len(args) > 0 {