Skip to content

Commit 88f5187

Browse files
liyinan926JoelSpeed
authored andcommitted
Check that the right GVK gets populated
1 parent 839d5aa commit 88f5187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cache/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func CacheTest(createCacheFunc func(config *rest.Config, opts cache.Options) (ca
207207
Expect(listObj.Items).NotTo(BeEmpty())
208208
Expect(listObj.Items).Should(HaveLen(3))
209209
for _, p := range listObj.Items {
210-
Expect(p.GroupVersionKind().Empty()).To(BeFalse())
210+
Expect(p.GroupVersionKind()).To(Equal(kcorev1.SchemeGroupVersion.WithKind("Pod")))
211211
}
212212
})
213213

0 commit comments

Comments
 (0)