Skip to content

Commit 67ae49f

Browse files
Bump v1alpha2 supported version
1 parent 266a7ea commit 67ae49f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

test/orchestratord/mzcompose.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,12 +1927,10 @@ def check() -> None:
19271927

19281928

19291929
def operator_supports_v1alpha2(definition: dict[str, Any]):
1930-
operator_version = Version.parse(
1931-
definition["operator"]["operator"]["image"]["tag"].removeprefix("v")
1930+
operator_version = MzVersion.parse(
1931+
definition["operator"]["operator"]["image"]["tag"]
19321932
)
1933-
if operator_version >= Version.parse("26.17.0-dev.0"):
1934-
return True
1935-
return False
1933+
return operator_version >= MzVersion.parse("v26.20.0-dev.0")
19361934

19371935

19381936
class Properties(Enum):

0 commit comments

Comments
 (0)