Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Invalid syntax in instructions to get event handler endpoint #110

Closed
sbrudz opened this issue Apr 20, 2021 · 0 comments · Fixed by #111
Closed

Invalid syntax in instructions to get event handler endpoint #110

sbrudz opened this issue Apr 20, 2021 · 0 comments · Fixed by #111
Labels
type: docs Improvement to the documentation for an API.

Comments

@sbrudz
Copy link
Contributor

sbrudz commented Apr 20, 2021

When I tried the command to get the event handler endpoint in INSTALL.md, I received the following error:

ERROR: (gcloud.run) unrecognized arguments: --platform (did you mean '--format'?)

It looks like the syntax for gcloud run services has changed as of version 322.0.0 and --platform managed --region ${FOURKEYS_REGION} now need to come after the positional arguments.

The following syntax works:

gcloud run services describe event-handler --platform managed --region ${FOURKEYS_REGION} --format=yaml | grep url | head -1 | sed -e 's/  *url: //g'
@dinagraves dinagraves added the type: docs Improvement to the documentation for an API. label Apr 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: docs Improvement to the documentation for an API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants