solo-io / workshops

Apache License 2.0
127 stars 72 forks source link

update address to curl against #33

Closed cmwylie19 closed 3 years ago

cmwylie19 commented 3 years ago

This command did not seem to be working on a mac:

./grpcurl -plaintext -H "Authorization: Bearer ${token}" -authority dev.petstore.com 172.18.1.2:80 test.solo.io.PetStore/ListPets

so i changed the 172.18.1.2:80 to $(glooctl proxy url | cut -c 8-) and it worked.

cmwylie19 commented 3 years ago

Just spoke with Baptiste and he said this is not a problem in the workshop itself. Going to close this PR.

djannot commented 3 years ago

@cmwylie19 I think it would be better to use a delimiter in the cut.

Something like cut -c: -f1