Skip to content

Commit 64171ab

Browse files
committed
Linter
1 parent 4a15dcd commit 64171ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/checkpointer/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func downloadAndUntar(ctx context.Context, url, path string) error {
9292
if err != nil {
9393
return err
9494
}
95-
defer devnull.Close()
95+
defer devnull.Close() //nolint:errcheck // What would we do with this error anyways
9696
cmd.Stdout = devnull
9797
cmd.Stderr = devnull
9898

internal/runner/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ func (m *Manager) createDefaultRunner(ctx context.Context) (*Runner, error) {
295295
// Make sure the signal handling is running
296296
// This runs an infinite loop for handling signals, so we explicitly
297297
// do not want to put it in a wait group of any kind
298-
go m.HandleSignals(m.ctx)
298+
go m.HandleSignals(m.ctx) //nolint:contextcheck // We want this to live for the lifetime of the manager
299299
} else {
300300
args = append(args, "--ipc-url", m.cfg.IPCUrl)
301301
}

0 commit comments

Comments
 (0)