Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Durgbuns <[email protected]>
  • Loading branch information
shivamdurgbuns committed Nov 20, 2024
1 parent f4b315a commit 6e8fa66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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 @@ -297,7 +297,7 @@ def upload_config_ini_file(self, params):
params (str): Parameter to pass to exporter script
Returns:
str: absolute path to config.ini gile
str: absolute path to config.ini file
"""
script_path = params_to_configini_file(params=params)
Expand Down Expand Up @@ -336,7 +336,7 @@ def run_exporter_script(self, params):
# run the exporter script on external RHCS cluster
ocs_version = version.get_semantic_ocs_version_from_config()
# if condition is for the new feature introduced in
# 4.17 in OCSQE-2249 where the this covers the test case
# 4.17 in OCSQE-2249 where this covers the test case
# with polarian id OCS-6196
if (
"--upgrade" not in params
Expand Down
6 changes: 3 additions & 3 deletions ocs_ci/utility/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5225,10 +5225,10 @@ def params_to_configini_file(params):
params (str): Parameter to pass to be converted into config.ini file.
Returns:
config_ini_file.name (str): Path to the config.ini file.
str: Path to the config.ini file.
"""
data = "[Configurations]\n"
import re

pattern = r"--([\w-]+) ([.:\w-]+)"
matches = re.finditer(pattern, params, re.MULTILINE)
Expand All @@ -5245,6 +5245,6 @@ def params_to_configini_file(params):
)
with open(config_ini_file.name, "w") as fd:
fd.write(data)
log.info(f"config.ini fike for cluster is located at {config_ini_file.name}")
log.info(f"config.ini file for cluster is located at {config_ini_file.name}")

return config_ini_file.name

0 comments on commit 6e8fa66

Please sign in to comment.