diff --git a/ocs_ci/deployment/helpers/external_cluster_helpers.py b/ocs_ci/deployment/helpers/external_cluster_helpers.py index 29b63d2c37e..234537a0df9 100644 --- a/ocs_ci/deployment/helpers/external_cluster_helpers.py +++ b/ocs_ci/deployment/helpers/external_cluster_helpers.py @@ -36,7 +36,7 @@ decode, download_file, wait_for_machineconfigpool_status, - params_to_configini_file, + create_config_ini_file, ) logger = logging.getLogger(__name__) @@ -309,7 +309,7 @@ def upload_config_ini_file(self, params): str: absolute path to config.ini file """ - script_path = params_to_configini_file(params=params) + script_path = create_config_ini_file(params=params) upload_file( self.host, script_path, script_path, self.user, self.password, self.ssh_key ) diff --git a/ocs_ci/utility/utils.py b/ocs_ci/utility/utils.py index 0ca3ee79ebb..888a2a56d7a 100644 --- a/ocs_ci/utility/utils.py +++ b/ocs_ci/utility/utils.py @@ -5257,6 +5257,8 @@ def is_z_stream_upgrade(): return config.UPGRADE.get("pre_upgrade_ocs_version", "") == config.UPGRADE.get( "upgrade_ocs_version", "" ) + + def create_config_ini_file(params): """ This function will create a config ini file for the params given.