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

Commit

Permalink
Merge pull request #5 from bcwaldon/fix-listopts
Browse files Browse the repository at this point in the history
Instantiate ListOpts
  • Loading branch information
ibuildthecloud committed Aug 23, 2014
2 parents 2bdca2f + 2d36643 commit faf1c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit faf1c44

Please sign in to comment.