Skip to content

Commit

Permalink
Merge branch 'main' into send-error-to-ch-before-returning
Browse files Browse the repository at this point in the history
  • Loading branch information
franknstyle committed Sep 17, 2024
2 parents 9be6752 + ffafac3 commit 5c992d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/client/logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"testing"

"github.com/pkg/errors"
corev1 "k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
Expand Down Expand Up @@ -255,14 +254,14 @@ func TestLogReaderInvalidConfig(t *testing.T) {

func TestPodsForLogs(t *testing.T) {
pluginName := "my-plugin"
pluginPod := corev1.Pod{
pluginPod := v1.Pod{
ObjectMeta: metav1.ObjectMeta{
Labels: map[string]string{
"sonobuoy-plugin": pluginName,
},
},
}
allPods := &corev1.PodList{Items: []corev1.Pod{pluginPod, {}}}
allPods := &v1.PodList{Items: []v1.Pod{pluginPod, {}}}
testCases := []struct {
desc string
pluginName string
Expand Down

0 comments on commit 5c992d2

Please sign in to comment.