We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb16f68 commit 736abc4Copy full SHA for 736abc4
internal/staticsources/rpicamera/source.go
@@ -232,8 +232,8 @@ func (s *Source) runPrimary(params defs.StaticSourceRunParams) error {
232
onData: onData,
233
onDataSecondary: onDataSecondary,
234
}
235
- err = cam.initialize()
236
- if err != nil {
+ err = cam.initialize() //nolint:staticcheck
+ if err != nil { //nolint:staticcheck
237
return err
238
239
defer cam.close()
0 commit comments