diff --git a/microceph/cmd/microceph/log.go b/microceph/cmd/microceph/log.go index 8febf236..56311b02 100644 --- a/microceph/cmd/microceph/log.go +++ b/microceph/cmd/microceph/log.go @@ -50,7 +50,7 @@ func (c *cmdLogGetLevel) Command() *cobra.Command { cmd := &cobra.Command{ Use: "get-level", Short: "Get the current log level, as an integer", - RunE: c.Run, + RunE: c.Run, } return cmd diff --git a/microceph/cmd/microceph/pool.go b/microceph/cmd/microceph/pool.go index 75419e09..5f9bdb76 100644 --- a/microceph/cmd/microceph/pool.go +++ b/microceph/cmd/microceph/pool.go @@ -17,7 +17,7 @@ type cmdPool struct { type cmdPoolSetRF struct { common *CmdControl poolRF *cmdPool - poolSize int64 + poolSize int64 } func (c *cmdPoolSetRF) Command() *cobra.Command { @@ -32,14 +32,14 @@ func (c *cmdPoolSetRF) Command() *cobra.Command { RunE: c.Run, } - cmd.Flags().Int64Var(&c.poolSize, "size", 3, "Pool size") - cmd.MarkFlagRequired("size") + cmd.Flags().Int64Var(&c.poolSize, "size", 3, "Pool size") + cmd.MarkFlagRequired("size") return cmd } func (c *cmdPoolSetRF) Run(cmd *cobra.Command, args []string) error { - if len(args) < 1 { + if len(args) < 1 { return cmd.Help() }