Skip to content

Commit

Permalink
Fix modulege template to succeed on make lint command
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Feb 17, 2024
1 parent a3f02ab commit 1ebd1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modulegen/_template/examples_test.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func Example{{ $entrypoint }}() {

state, err := {{ $lower }}Container.State(ctx)
if err != nil {
log.Fatalf("failed to get container state: %s", err)
log.Fatalf("failed to get container state: %s", err) // nolint:gocritic
}

fmt.Println(state.Running)
Expand Down

0 comments on commit 1ebd1b2

Please sign in to comment.