Skip to content

Commit

Permalink
Fix typo in functions (#60)
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek authored May 29, 2024
1 parent 040e556 commit 21a34e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions container_ci_suite/openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,14 +505,14 @@ def deploy_s2i_app(self, image_name: str, app: str, context: str) -> bool:
return True

def deploy_imagestream_s2i(
self, imagestream_file: str, image_name: str, name_in_template: str, context: str
self, imagestream_file: str, image_name: str, app: str, context: str
) -> bool:
"""
Function deploys imagestreams as s2i application
In case of failure check if imagestream_file really exist
:param imagestream_file: imagestream file that is imported to OCP4
:param image_name: image name that is used for testing
:param name_in_template: the name that is used in template
:param app: the app reference that is used in template like https://github.com/sclorg/httpd-ex.git
:param context: specify context of in source git repository
:return True: application was properly deployed
False: application was not properly deployed
Expand All @@ -522,7 +522,7 @@ def deploy_imagestream_s2i(
if not local_template:
return False
self.import_is(local_template, name="", skip_check=True)
return self.deploy_s2i_app(image_name=image_name, app=name_in_template, context=context)
return self.deploy_s2i_app(image_name=image_name, app=app, context=context)

def deploy_template_with_image(
self, image_name: str, template: str, name_in_template: str = "", openshift_args=None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_requirements():
description='A python3 container CI tool for testing images.',
long_description=long_description,
long_description_content_type='text/markdown',
version="0.1.0",
version="0.1.1",
keywords='tool,containers,images,tests',
packages=find_packages(exclude=["tests"]),
url="https://github.com/sclorg/container-ci-suite",
Expand Down

0 comments on commit 21a34e9

Please sign in to comment.