diff options
author | Valery Piashchynski <[email protected]> | 2020-10-20 17:36:41 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-10-20 17:36:41 +0300 |
commit | de6a38c0f3e1f21349e6361b8fe2829a09cf02b8 (patch) | |
tree | fc99ba06106145c1b9d2279e0616795ed106588f /plugins/config/tests | |
parent | 4a3a8a1b94ce7a1ff697aee6c4e8a34e3a736195 (diff) |
GolangCi warnings fix
Diffstat (limited to 'plugins/config/tests')
-rw-r--r-- | plugins/config/tests/config_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/config/tests/config_test.go b/plugins/config/tests/config_test.go index cf5d8489..c85a841f 100644 --- a/plugins/config/tests/config_test.go +++ b/plugins/config/tests/config_test.go @@ -40,7 +40,7 @@ func TestViperProvider_Init(t *testing.T) { } // stop by CTRL+C - c := make(chan os.Signal) + c := make(chan os.Signal, 1) signal.Notify(c, os.Interrupt) tt := time.NewTicker(time.Second * 2) @@ -63,5 +63,4 @@ func TestViperProvider_Init(t *testing.T) { return } } - } |