File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 27
27
)
28
28
from ocs_ci .utility .version import (
29
29
get_semantic_ocp_running_version ,
30
+ get_semantic_ocs_version_from_config ,
30
31
VERSION_4_10 ,
31
32
)
32
33
@@ -356,7 +357,7 @@ def prepare_disconnected_ocs_deployment(upgrade=False):
356
357
or None (for live deployment)
357
358
358
359
"""
359
-
360
+ ocs_version = get_semantic_ocs_version_from_config ()
360
361
if config .DEPLOYMENT .get ("stage_rh_osbs" ):
361
362
raise NotImplementedError (
362
363
"Disconnected installation from stage is not implemented!"
@@ -431,7 +432,7 @@ def prepare_disconnected_ocs_deployment(upgrade=False):
431
432
432
433
mirrored_index_image = mirror_index_image_via_oc_mirror (
433
434
index_image ,
434
- constants .DISCON_CL_REQUIRED_PACKAGES_PER_ODF_VERSION [get_ocp_version () ],
435
+ constants .DISCON_CL_REQUIRED_PACKAGES_PER_ODF_VERSION [f" { ocs_version } " ],
435
436
icsp ,
436
437
)
437
438
logger .debug (f"mirrored_index_image: { mirrored_index_image } " )
You can’t perform that action at this time.
0 commit comments