From f15a8b28df292e46df1005123f1e4a2f3f18b82b Mon Sep 17 00:00:00 2001 From: Ruth Netser Date: Mon, 6 Nov 2023 16:30:22 +0200 Subject: [PATCH] OSD clusters - add channel group to version if not stable channel (#281) --- openshift_cli_installer/libs/clusters/osd_cluster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openshift_cli_installer/libs/clusters/osd_cluster.py b/openshift_cli_installer/libs/clusters/osd_cluster.py index fdd9b8b6..efcfe06a 100644 --- a/openshift_cli_installer/libs/clusters/osd_cluster.py +++ b/openshift_cli_installer/libs/clusters/osd_cluster.py @@ -45,8 +45,8 @@ def create_cluster(self): try: ocp_version = ( self.install_version - if self.channel_group != "candidate" - else f"{self.install_version}-candidate" + if self.channel_group == "stable" + else f"{self.install_version}-{self.channel_group}" ) provision_osd_kwargs = { "wait_for_ready": True,