Skip to content

Commit

Permalink
Merge pull request kruize#1295 from chandrams/fix_kruize_url
Browse files Browse the repository at this point in the history
Fixed the kruize url issue
  • Loading branch information
chandrams authored Sep 17, 2024
2 parents f0aaf19 + f67259d commit e6118a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/helpers/kruize.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def form_kruize_url(cluster_type, SERVER_IP=None):

subprocess.run(['oc expose svc/kruize -n openshift-tuning'], shell=True, stdout=subprocess.PIPE)
ip = subprocess.run(
['oc status -n openshift-tuning | grep "kruize" | grep -v "kruize-ui" "kruize-db" | grep port | cut -d " " -f1 | cut -d "/" -f3'], shell=True,
['oc status -n openshift-tuning | grep "kruize" | grep -v "kruize-ui" | grep -v "kruize-db" | grep port | cut -d " " -f1 | cut -d "/" -f3'], shell=True,
stdout=subprocess.PIPE)
SERVER_IP = ip.stdout.decode('utf-8').strip('\n')
print("IP = ", SERVER_IP)
Expand Down

0 comments on commit e6118a1

Please sign in to comment.