diff --git a/content/en/docs/tasks/traffic-management/circuit-breaking/index.md b/content/en/docs/tasks/traffic-management/circuit-breaking/index.md index d23049fd6f..bbbd06be8a 100644 --- a/content/en/docs/tasks/traffic-management/circuit-breaking/index.md +++ b/content/en/docs/tasks/traffic-management/circuit-breaking/index.md @@ -105,11 +105,11 @@ governed by Istio. {{< /text >}} 1. Log in to the client pod and use the fortio tool to call `httpbin`. -Pass in `-curl` to indicate that you just want to make one call: +Pass in `curl` to indicate that you just want to make one call: {{< text bash >}} $ export FORTIO_POD=$(kubectl get pods -lapp=fortio -o 'jsonpath={.items[0].metadata.name}') - $ kubectl exec "$FORTIO_POD" -c fortio -- /usr/bin/fortio load -curl http://httpbin:8000/get + $ kubectl exec "$FORTIO_POD" -c fortio -- /usr/bin/fortio curl -quiet http://httpbin:8000/get HTTP/1.1 200 OK server: envoy date: Tue, 25 Feb 2020 20:25:52 GMT diff --git a/content/en/docs/tasks/traffic-management/circuit-breaking/snips.sh b/content/en/docs/tasks/traffic-management/circuit-breaking/snips.sh index 7cf1baf602..c3ff07eb8a 100644 --- a/content/en/docs/tasks/traffic-management/circuit-breaking/snips.sh +++ b/content/en/docs/tasks/traffic-management/circuit-breaking/snips.sh @@ -77,7 +77,7 @@ kubectl apply -f <(istioctl kube-inject -f samples/httpbin/sample-client/fortio- snip_adding_a_client_3() { export FORTIO_POD=$(kubectl get pods -lapp=fortio -o 'jsonpath={.items[0].metadata.name}') -kubectl exec "$FORTIO_POD" -c fortio -- /usr/bin/fortio load -curl http://httpbin:8000/get +kubectl exec "$FORTIO_POD" -c fortio -- /usr/bin/fortio curl -quiet http://httpbin:8000/get } ! read -r -d '' snip_adding_a_client_3_out <<\ENDSNIP