Apply fixes suggested by staticcheck
This commit is contained in:
parent
82c22e3969
commit
3d7a09347d
19 changed files with 26 additions and 315 deletions
|
|
@ -88,8 +88,6 @@ func TestHandleSigterm(t *testing.T) {
|
|||
if code != 1 {
|
||||
t.Errorf("Expected exit code 1 but %d received", code)
|
||||
}
|
||||
|
||||
return
|
||||
})
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue