Cleanup for some staticcheck warnings

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2023-07-21 12:24:29 -07:00
parent 9d9d760af2
commit 1e15061400
4 changed files with 33 additions and 28 deletions

View File

@@ -5238,7 +5238,7 @@ func TestLeafNodeCompressionOptions(t *testing.T) {
rtts []time.Duration
err string
}{
{"unsupported mode", "gzip", nil, "Unsupported"},
{"unsupported mode", "gzip", nil, "unsupported"},
{"not ascending order", "s2_auto", []time.Duration{
5 * time.Millisecond,
10 * time.Millisecond,