Kong / CustomerSuccess

BSD 2-Clause "Simplified" License
4 stars 4 forks source link

Fix jq: error (at <stdin>:1): Cannot index string with string "find" #23

Closed jezrsmith closed 3 months ago

jezrsmith commented 3 months ago

The existing example env.json is incorrect:

discrete needs to be an array or you will get "jq: error (at :1): Cannot index string with string "find"" in kong_gateway_fetch_workspace_services (line 266)

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

dlamotta commented 3 months ago

Good catch. Thank you!

The block really should be:

... "discrete": [ { "find": "foo|bar", "replace_with": "car" } ] ...

jezrsmith commented 3 months ago

fixed the sample