mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
fix golangci_lint workflow (#4933)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
This commit is contained in:
parent
cb16f68432
commit
736abc40b3
1 changed files with 2 additions and 2 deletions
|
|
@ -232,8 +232,8 @@ func (s *Source) runPrimary(params defs.StaticSourceRunParams) error {
|
|||
onData: onData,
|
||||
onDataSecondary: onDataSecondary,
|
||||
}
|
||||
err = cam.initialize()
|
||||
if err != nil {
|
||||
err = cam.initialize() //nolint:staticcheck
|
||||
if err != nil { //nolint:staticcheck
|
||||
return err
|
||||
}
|
||||
defer cam.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue