Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint: enable govet shadow linter and resolve linter warnings #5261

Merged
merged 10 commits into from
Jun 1, 2023
Prev Previous commit
Next Next commit
Fix single linter error in tools/block-generator/runner/run.go.
  • Loading branch information
gmalouf committed May 23, 2023
commit 21b3a4de2a241961bb51db98194cc7f4dcb04e5c
4 changes: 2 additions & 2 deletions tools/block-generator/runner/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ func (r *Args) run() error {
}
defer func() {
// Shutdown conduit
if err := conduitShutdownFunc(); err != nil {
fmt.Printf("failed to shutdown Conduit: %s\n", err)
if sdErr := conduitShutdownFunc(); sdErr != nil {
fmt.Printf("failed to shutdown Conduit: %s\n", sdErr)
}
}()

Expand Down