Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
randytqwjp committed Dec 13, 2024
1 parent 7c0e997 commit 5be0c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/tortoise/tortoise_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4706,11 +4706,11 @@ func TestService_UpdateTortoisePhaseIfHPAIsUnhealthy(t *testing.T) {
lastTimeUpdateTortoise: make(map[client.ObjectKey]time.Time),
}

tt.args.t, err := s.UpdateTortoisePhaseIfHPAIsUnhealthy(context.Background(), tt.args.scalingActive, tt.args.t)
tortoise, err := s.UpdateTortoisePhaseIfHPAIsUnhealthy(context.Background(), tt.args.scalingActive, tt.args.t)
if err != nil {
t.Fatalf("failed to update tortoise phase: %v", err)
}
if d := cmp.Diff(tt.args.t, tt.wantTortoise); d != "" {
if d := cmp.Diff(tortoise, tt.wantTortoise); d != "" {
t.Errorf("UpdateTortoiseStatus() diff = %v", d)
}
})
Expand Down

0 comments on commit 5be0c1a

Please sign in to comment.