Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
test: change oc's --docker-image flag to --image (#1471)
Browse files Browse the repository at this point in the history
The `--docker-image` flag has been deprecated, so we should move away from using it.

Signed-off-by: Andy Sadler <ansadler@redhat.com>
  • Loading branch information
sadlerap authored and web-flow committed Aug 15, 2023
1 parent 244495f commit 3f27eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/acceptance/features/steps/openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def get_deployment_with_intermediate_secret_of_given_pattern(self, intermediate_

def new_app(self, name, image_name, namespace, bindingRoot=None, asDeploymentConfig=False):
if ctx.cli == "oc":
cmd = f"{ctx.cli} new-app --docker-image={image_name} --name={name} -n {namespace}"
cmd = f"{ctx.cli} new-app --image={image_name} --name={name} -n {namespace}"
if bindingRoot:
cmd = cmd + f" -e SERVICE_BINDING_ROOT={bindingRoot}"
if asDeploymentConfig:
Expand Down

0 comments on commit 3f27eed

Please sign in to comment.