mirror of
https://github.com/lukaszraczylo/kportal.git
synced 2026-06-28 05:26:27 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 285ced6755 |
@@ -228,7 +228,7 @@ func TestResolveTargetPort(t *testing.T) {
|
|||||||
for i := range tt.pods {
|
for i := range tt.pods {
|
||||||
objects = append(objects, &tt.pods[i])
|
objects = append(objects, &tt.pods[i])
|
||||||
}
|
}
|
||||||
fakeClient := fake.NewSimpleClientset(objects...)
|
fakeClient := fake.NewClientset(objects...)
|
||||||
|
|
||||||
// Create discovery instance (we only need it to call resolveTargetPort)
|
// Create discovery instance (we only need it to call resolveTargetPort)
|
||||||
d := &Discovery{}
|
d := &Discovery{}
|
||||||
|
|||||||
Reference in New Issue
Block a user