Skip to content

Commit 59a2218

Browse files
authored
Tools: Fixes test-e2e.sh script (#900)
Signed-off-by: Daneyon Hansen <[email protected]>
1 parent dc5c4ab commit 59a2218

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/test-e2e.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ check_pod_ready() {
5959
# Try to get the Gateway's IP and the port from the listener named "llm-gw" if it exists.
6060
if check_resource_exists "gateway" "inference-gateway" "default"; then
6161
GATEWAY_IP=$(kubectl get gateway inference-gateway -n default -o jsonpath='{.status.addresses[0].value}')
62-
# Use JSONPath to select the port from the listener with name "llm-gw"
63-
GATEWAY_PORT=$(kubectl get gateway inference-gateway -n default -o jsonpath='{.spec.listeners[?(@.name=="llm-gw")].port}')
62+
# Use JSONPath to select the port from the listener with name "http"
63+
GATEWAY_PORT=$(kubectl get gateway inference-gateway -n default -o jsonpath='{.spec.listeners[?(@.name=="http")].port}')
6464
else
6565
GATEWAY_IP=""
6666
GATEWAY_PORT=""

0 commit comments

Comments
 (0)