Skip to content

Commit

Permalink
get: suppress contextcheck
Browse files Browse the repository at this point in the history
pkg/services/object/get/get.go:91:14                                       contextcheck  Function `execute->analyzeStatus->assemble->processV2Split->processV2Link->getChild` should pass the context parameter

Can be untangled, but we a lot of calls here joined by the same context, so I'd
keep it as is for now.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Sep 7, 2024
1 parent 114f9d9 commit d0199c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/object/get/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (s *Service) get(ctx context.Context, prm commonPrm, opts ...execOption) st
exec.setLogger(s.log)
}

exec.execute()
exec.execute() //nolint:contextcheck // It is in fact passed via execCtx

return exec.statusError
}
Expand Down

0 comments on commit d0199c1

Please sign in to comment.