From 2d366432c4bfcc3d7479ebd60bae311d99bf4656 Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Fri, 22 Aug 2014 18:26:14 -0700 Subject: [PATCH] Instantiate ListOpts --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 244e8ef..14520e5 100644 --- a/main.go +++ b/main.go @@ -75,7 +75,7 @@ func parseContext(args []string) (*Context, error) { flags := flag.NewFlagSet("systemd-docker", flag.ContinueOnError) - var flCgroups opts.ListOpts + flCgroups := opts.NewListOpts(nil) flags.StringVar(&c.PidFile, []string{"p", "-pid-file"}, "", "pipe file") flags.BoolVar(&c.Logs, []string{"l", "-logs"}, true, "pipe logs")