lint fix: staticcheck and null derefs
This commit is contained in:
@@ -15,6 +15,7 @@ func TestNewStatsManager(t *testing.T) {
|
||||
|
||||
if manager == nil {
|
||||
t.Fatal("NewStatsManager() returned nil")
|
||||
return
|
||||
}
|
||||
|
||||
if manager.client != client {
|
||||
|
||||
Reference in New Issue
Block a user