mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 00:34:10 -04:00
Fix passing runtime.Object to HaveValidResourceVersion check
This commit is contained in:
parent
6bb0bd55a3
commit
af9facf7ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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\"}}}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue