Skip to content

Commit e734d6b

Browse files
committed
[osversion] remove condition check after successful update
When the dataplane minor update finished, the controller will not set a OpenStackVersionMinorUpdateOVNDataplane after [1]. This change will remove the no longer required check. [1] openstack-k8s-operators/lib-common#590 Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
1 parent c080dc8 commit e734d6b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/functional/ctlplane/openstackversion_controller_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -535,12 +535,6 @@ var _ = Describe("OpenStackOperator controller", func() {
535535
osversion := GetOpenStackVersion(names.OpenStackVersionName)
536536
g.Expect(osversion).Should(Not(BeNil()))
537537
g.Expect(osversion.OwnerReferences).Should(HaveLen(1))
538-
th.ExpectCondition(
539-
names.OpenStackVersionName,
540-
ConditionGetterFunc(OpenStackVersionConditionGetter),
541-
corev1.OpenStackVersionMinorUpdateDataplane,
542-
k8s_corev1.ConditionTrue,
543-
)
544538
th.ExpectCondition(
545539
names.OpenStackVersionName,
546540
ConditionGetterFunc(OpenStackVersionConditionGetter),

0 commit comments

Comments
 (0)