Skip to content

Commit

Permalink
Changing function name to create_config_ini_file
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Durgbuns <[email protected]>
  • Loading branch information
shivamdurgbuns committed Jan 9, 2025
1 parent 5cb4c1d commit 38f8965
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ocs_ci/deployment/helpers/external_cluster_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
decode,
download_file,
wait_for_machineconfigpool_status,
params_to_configini_file,
create_config_ini_file,
)

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -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
)
Expand Down
2 changes: 2 additions & 0 deletions ocs_ci/utility/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 38f8965

Please sign in to comment.