From 8695d4487fd08ceeaf09cff3268de9678d9446ed Mon Sep 17 00:00:00 2001 From: Thibault Richard Date: Mon, 15 Nov 2021 21:06:38 +0100 Subject: [PATCH] Set resource version in newTestPod --- pkg/controller/elasticsearch/driver/fixtures.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/controller/elasticsearch/driver/fixtures.go b/pkg/controller/elasticsearch/driver/fixtures.go index 0f54e0dea5..9c73433372 100644 --- a/pkg/controller/elasticsearch/driver/fixtures.go +++ b/pkg/controller/elasticsearch/driver/fixtures.go @@ -35,8 +35,9 @@ type testPod struct { func newTestPod(name string) testPod { return testPod{ - name: name, - uid: uuid.NewUUID(), + name: name, + uid: uuid.NewUUID(), + resourceVersion: "123", } }