Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Zhang Kang <kang.zhang@intel.com>
  • Loading branch information
kangclzjc committed Jul 3, 2024
1 parent 1c8c259 commit 68ef60e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pkg/koordlet/util/resctrl/ctrl_mgr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"fmt"
"os"
"path/filepath"
"reflect"
"testing"
"time"

Expand Down Expand Up @@ -357,18 +356,3 @@ func TestControlGroupManager_RemovePod(t *testing.T) {
}
}

Check failure on line 358 in pkg/koordlet/util/resctrl/ctrl_mgr_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

File is not `gofmt`-ed with `-s` (gofmt)
func TestNewControlGroupManager(t *testing.T) {
tests := []struct {
name string
want ControlGroupManager
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := NewControlGroupManager(); !reflect.DeepEqual(got, tt.want) {
t.Errorf("NewControlGroupManager() = %v, want %v", got, tt.want)
}
})
}
}

0 comments on commit 68ef60e

Please sign in to comment.