mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
Merge pull request #134355 from liggitt/fix-rv-call
Fix passing runtime.Object to HaveValidResourceVersion check
This commit is contained in:
@@ -166,7 +166,7 @@ var _ = SIGDescribe("ControllerRevision", framework.WithSerial(), func() {
|
||||
framework.ExpectNoError(err, "failed to lookup ControllerRevision: %v", err)
|
||||
gomega.Expect(initialRevision).NotTo(gomega.BeNil(), "failed to lookup ControllerRevision: %v", initialRevision)
|
||||
}
|
||||
gomega.Expect(rev).To(apimachineryutils.HaveValidResourceVersion())
|
||||
gomega.Expect(&rev).To(apimachineryutils.HaveValidResourceVersion())
|
||||
|
||||
ginkgo.By(fmt.Sprintf("Patching ControllerRevision %q", initialRevision.Name))
|
||||
payload := "{\"metadata\":{\"labels\":{\"" + initialRevision.Name + "\":\"patched\"}}}"
|
||||
|
||||
Reference in New Issue
Block a user