mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
update golangci-lint configuration (#5182)
This commit is contained in:
parent
ac1d4360b2
commit
ff187b6d8a
80 changed files with 294 additions and 309 deletions
|
|
@ -414,7 +414,7 @@ func TestAuthError(t *testing.T) {
|
|||
WriteTimeout: conf.Duration(10 * time.Second),
|
||||
WriteQueueSize: 512,
|
||||
PathManager: pathManager,
|
||||
Parent: test.Logger(func(l logger.Level, s string, i ...interface{}) {
|
||||
Parent: test.Logger(func(l logger.Level, s string, i ...any) {
|
||||
if l == logger.Info {
|
||||
if atomic.AddInt64(n, 1) == 3 {
|
||||
require.Regexp(t, "authentication failed: auth error$", fmt.Sprintf(s, i...))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue