Skip to content

Commit

Permalink
Update podevaluator_podmanager_test.go
Browse files Browse the repository at this point in the history
Address review suggestion
  • Loading branch information
efiacor authored Dec 13, 2024
1 parent 6c51655 commit 7f3bfa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions func/internal/podevaluator_podmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -687,8 +687,7 @@ func TestPodManager(t *testing.T) {
t.Errorf("Expected to get error, got ready pod")
}
var pod corev1.Pod
//nolint:errcheck
if tt.kubeClient.Get(ctx, cc.pod, &pod); err != nil {
if err := tt.kubeClient.Get(ctx, cc.pod, &pod); err != nil {
t.Errorf("Failed to get pod: %v", err)
}

Expand Down

0 comments on commit 7f3bfa0

Please sign in to comment.