Skip to content

Commit

Permalink
Update pkg/controller/core/workload_controller_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
  • Loading branch information
PBundyra and alculquicondor committed Apr 16, 2024
1 parent b80d470 commit 19e4b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/core/workload_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func TestSyncCheckStates(t *testing.T) {
t.Errorf("Unexpected should change, want=%v", tc.wantChange)
}

opts := []cmp.Option{}
var opts []cmp.Option
if tc.ignoreTransitionTime {
opts = append(opts, cmpopts.IgnoreFields(kueue.AdmissionCheckState{}, "LastTransitionTime"))
}
Expand Down

0 comments on commit 19e4b41

Please sign in to comment.