diff --git a/example/cmd/microctl/cluster_members.go b/example/cmd/microctl/cluster_members.go index ee2666fd..8d7ad8a2 100644 --- a/example/cmd/microctl/cluster_members.go +++ b/example/cmd/microctl/cluster_members.go @@ -95,7 +95,7 @@ func (c *cmdClusterMembersList) run(cmd *cobra.Command, args []string) error { } // Get all state information for MicroCluster. - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } @@ -179,7 +179,7 @@ func (c *cmdClusterMemberRemove) run(cmd *cobra.Command, args []string) error { return cmd.Help() } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } @@ -212,7 +212,7 @@ func (c *cmdClusterEdit) command() *cobra.Command { } func (c *cmdClusterEdit) run(cmd *cobra.Command, args []string) error { - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } diff --git a/example/cmd/microctl/extended_cmd.go b/example/cmd/microctl/extended_cmd.go index 098d8250..65f8a671 100644 --- a/example/cmd/microctl/extended_cmd.go +++ b/example/cmd/microctl/extended_cmd.go @@ -29,7 +29,7 @@ func (c *cmdExtended) run(cmd *cobra.Command, args []string) error { return cmd.Help() } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } diff --git a/example/cmd/microctl/main_init.go b/example/cmd/microctl/main_init.go index 664fee59..f39c6119 100644 --- a/example/cmd/microctl/main_init.go +++ b/example/cmd/microctl/main_init.go @@ -41,7 +41,7 @@ func (c *cmdInit) run(cmd *cobra.Command, args []string) error { return cmd.Help() } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return fmt.Errorf("Unable to configure MicroCluster: %w", err) } diff --git a/example/cmd/microctl/shutdown.go b/example/cmd/microctl/shutdown.go index 2c5f072b..521ce412 100644 --- a/example/cmd/microctl/shutdown.go +++ b/example/cmd/microctl/shutdown.go @@ -25,7 +25,7 @@ func (c *cmdShutdown) run(cmd *cobra.Command, args []string) error { return cmd.Help() } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } diff --git a/example/cmd/microctl/sql.go b/example/cmd/microctl/sql.go index e6a6c56d..91b85126 100644 --- a/example/cmd/microctl/sql.go +++ b/example/cmd/microctl/sql.go @@ -36,7 +36,7 @@ func (c *cmdSQL) run(cmd *cobra.Command, args []string) error { } } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } diff --git a/example/cmd/microctl/tokens.go b/example/cmd/microctl/tokens.go index 70bf0875..94f5d88a 100644 --- a/example/cmd/microctl/tokens.go +++ b/example/cmd/microctl/tokens.go @@ -60,7 +60,7 @@ func (c *cmdTokensAdd) run(cmd *cobra.Command, args []string) error { return cmd.Help() } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } @@ -102,7 +102,7 @@ func (c *cmdTokensList) run(cmd *cobra.Command, args []string) error { return cmd.Help() } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } @@ -142,7 +142,7 @@ func (c *cmdTokensRevoke) run(cmd *cobra.Command, args []string) error { return cmd.Help() } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err } diff --git a/example/cmd/microctl/waitready.go b/example/cmd/microctl/waitready.go index 0ac806c2..dcce215f 100644 --- a/example/cmd/microctl/waitready.go +++ b/example/cmd/microctl/waitready.go @@ -32,7 +32,7 @@ func (c *cmdWaitready) run(cmd *cobra.Command, args []string) error { return cmd.Help() } - m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir, Verbose: c.common.FlagLogVerbose, Debug: c.common.FlagLogDebug}) + m, err := microcluster.App(microcluster.Args{StateDir: c.common.FlagStateDir}) if err != nil { return err }