File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -566,12 +566,9 @@ function ct_os_test_s2i_app_func() {
566
566
local check_command_exp
567
567
local image_id
568
568
569
- # get image ID from the deployment config
570
- image_id=$( oc get " deploymentconfig.apps.openshift.io/${service_name} " -o custom-columns=IMAGE:.spec.template.spec.containers[* ].image | tail -n 1)
571
-
572
569
ip=$( ct_os_get_service_ip " ${service_name} " )
573
570
# shellcheck disable=SC2001
574
- check_command_exp=$( echo " $check_command " | sed -e " s/<IP>/$ip /g" -e " s|<SAME_IMAGE>| ${image_id} |g " )
571
+ check_command_exp=$( echo " $check_command " | sed -e " s/<IP>/$ip /g" )
575
572
576
573
echo " Checking APP using $check_command_exp ..."
577
574
local result=0
@@ -712,12 +709,9 @@ function ct_os_test_template_app_func() {
712
709
local check_command_exp
713
710
local image_id
714
711
715
- # get image ID from the deployment config
716
- image_id=$( oc get " deploymentconfig.apps.openshift.io/${service_name} " -o custom-columns=IMAGE:.spec.template.spec.containers[* ].image | tail -n 1)
717
-
718
712
ip=$( ct_os_get_service_ip " ${service_name} " )
719
713
# shellcheck disable=SC2001
720
- check_command_exp=$( echo " $check_command " | sed -e " s/<IP>/$ip /g" -e " s|<SAME_IMAGE>| ${image_id} |g " )
714
+ check_command_exp=$( echo " $check_command " | sed -e " s/<IP>/$ip /g" )
721
715
722
716
echo " Checking APP using $check_command_exp ..."
723
717
local result=0
You can’t perform that action at this time.
0 commit comments