diff options
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r-- | cmd/podman/common.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go index 755285c95..9ee99bebc 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -1,6 +1,7 @@ package main import ( + "context" "reflect" "regexp" "strings" @@ -67,6 +68,11 @@ func validateFlags(c *cli.Context, flags []cli.Flag) error { return nil } +// getContext returns a non-nil, empty context +func getContext() context.Context { + return context.TODO() +} + // Common flags shared between commands var createFlags = []cli.Flag{ cli.StringSliceFlag{ |