Skip to content

Commit

Permalink
test: change oc's --docker-image flag to --image (redhat-developer#1471
Browse files Browse the repository at this point in the history
…) (redhat-developer#1472)

The `--docker-image` flag has been deprecated, so we should move away from using it.

Signed-off-by: Andy Sadler <[email protected]>
Co-authored-by: Andy Sadler <[email protected]>
  • Loading branch information
service-binding-operator-bot and sadlerap authored Aug 16, 2023
1 parent 244495f commit dce78e3
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 dce78e3

Please sign in to comment.