From aa19565d8d86701191bb2bf15fe0ab019da590dc Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 2 Nov 2017 08:25:06 -0500 Subject: spec.go: Remove cli context as func arg Remove cli context as a func arg to make unit tests easier. Signed-off-by: baude --- cmd/kpod/spec.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd/kpod/spec.go') diff --git a/cmd/kpod/spec.go b/cmd/kpod/spec.go index d30c0d1a5..b990d8463 100644 --- a/cmd/kpod/spec.go +++ b/cmd/kpod/spec.go @@ -11,7 +11,6 @@ import ( "github.com/projectatomic/libpod/libpod" ann "github.com/projectatomic/libpod/pkg/annotations" "github.com/sirupsen/logrus" - "github.com/urfave/cli" "golang.org/x/sys/unix" ) @@ -464,7 +463,7 @@ func (c *createConfig) GetTmpfsMounts() []spec.Mount { return m } -func (c *createConfig) GetContainerCreateOptions(cli *cli.Context) ([]libpod.CtrCreateOption, error) { +func (c *createConfig) GetContainerCreateOptions() ([]libpod.CtrCreateOption, error) { var options []libpod.CtrCreateOption // Uncomment after talking to mheon about unimplemented funcs -- cgit v1.2.3-54-g00ecf