Skip to content

Commit

Permalink
Remove unused lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriCtvrtka committed Feb 7, 2024
1 parent 6cd3159 commit 35cfcce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/pkg/client/tarball/tarball.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (b *Base) Install(ctx context.Context) error {
extractedPath := path.Join(os.TempDir(), fmt.Sprintf("pmm2-client-%s", b.Version))
defer os.RemoveAll(extractedPath) //nolint:errcheck

if err := b.installTarball(ctx, extractedPath); err != nil { //nolint:revive
if err := b.installTarball(ctx, extractedPath); err != nil {
return err
}

Expand Down Expand Up @@ -195,7 +195,7 @@ func (b *Base) extractTarball(tarPath string) error {
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr

if err := cmd.Run(); err != nil { //nolint:revive
if err := cmd.Run(); err != nil {
return err
}

Expand Down Expand Up @@ -228,7 +228,7 @@ func (b *Base) installTarball(ctx context.Context, extractedPath string) error {
cmd.Env = append(cmd.Env, "PMM_DIR="+b.InstallPath)
}

if err := cmd.Run(); err != nil { //nolint:revive
if err := cmd.Run(); err != nil {
return err
}

Expand Down

0 comments on commit 35cfcce

Please sign in to comment.