Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit 2d36643

Browse files
committed
Instantiate ListOpts
1 parent 9ef61e9 commit 2d36643

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func parseContext(args []string) (*Context, error) {
7575

7676
flags := flag.NewFlagSet("systemd-docker", flag.ContinueOnError)
7777

78-
var flCgroups opts.ListOpts
78+
flCgroups := opts.NewListOpts(nil)
7979

8080
flags.StringVar(&c.PidFile, []string{"p", "-pid-file"}, "", "pipe file")
8181
flags.BoolVar(&c.Logs, []string{"l", "-logs"}, true, "pipe logs")

0 commit comments

Comments
 (0)