func run(ctx *cli.Context) { if len(ctx.Args()) != 1 { fmt.Printf("\nUsage: %s [tenant/driver name]\n\n", os.Args[0]) cli.ShowAppHelp(ctx) os.Exit(1) } volplugin.Daemon(ctx.Args()[0], ctx.Bool("debug"), ctx.String("master")) }
func run(ctx *cli.Context) { volplugin.Daemon(ctx.Bool("debug"), ctx.String("master"), ctx.String("host-label")) }