From e00290b41bbd4ae86c7efc9d55ef9d69bbe31354 Mon Sep 17 00:00:00 2001 From: Brian Ketelsen Date: Thu, 15 May 2025 12:26:40 -0400 Subject: [PATCH] chore: linting --- cmd/cmd.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 7ec3425a..3d764175 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -373,7 +373,7 @@ func (c *cmd) Before(ctx *cli.Context) error { if name := ctx.String("store"); len(name) > 0 { s, ok := c.opts.Stores[name] if !ok { - return fmt.Errorf("Unsupported store: %s", name) + return fmt.Errorf("unsupported store: %s", name) } *c.opts.Store = s(store.WithClient(*c.opts.Client)) @@ -383,7 +383,7 @@ func (c *cmd) Before(ctx *cli.Context) error { if name := ctx.String("tracer"); len(name) > 0 { r, ok := c.opts.Tracers[name] if !ok { - return fmt.Errorf("Unsupported tracer: %s", name) + return fmt.Errorf("unsupported tracer: %s", name) } *c.opts.Tracer = r() @@ -409,7 +409,7 @@ func (c *cmd) Before(ctx *cli.Context) error { if name := ctx.String("auth"); len(name) > 0 { r, ok := c.opts.Auths[name] if !ok { - return fmt.Errorf("Unsupported auth: %s", name) + return fmt.Errorf("unsupported auth: %s", name) } *c.opts.Auth = r(authOpts...) @@ -441,7 +441,7 @@ func (c *cmd) Before(ctx *cli.Context) error { if name := ctx.String("profile"); len(name) > 0 { p, ok := c.opts.Profiles[name] if !ok { - return fmt.Errorf("Unsupported profile: %s", name) + return fmt.Errorf("unsupported profile: %s", name) } *c.opts.Profile = p()