From 23602de816b9ee3e92a8cbac295e955ba43fa283 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Fri, 5 Apr 2019 19:49:36 -0500 Subject: Revert "Switch to golangci-lint" Signed-off-by: baude --- cmd/podman/shared/create.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmd/podman/shared') diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go index 57e509c2a..cd82e4f1c 100644 --- a/cmd/podman/shared/create.go +++ b/cmd/podman/shared/create.go @@ -34,6 +34,11 @@ import ( "github.com/sirupsen/logrus" ) +// getContext returns a non-nil, empty context +func getContext() context.Context { + return context.TODO() +} + func CreateContainer(ctx context.Context, c *cliconfig.PodmanCommand, runtime *libpod.Runtime) (*libpod.Container, *cc.CreateConfig, error) { var ( healthCheck *manifest.Schema2HealthConfig -- cgit v1.2.3-54-g00ecf