Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

fix: changed region format on serverless#291

Merged
daniel-sanche merged 1 commit into
masterfrom
fix-functions-region
May 10, 2021
Merged

fix: changed region format on serverless#291
daniel-sanche merged 1 commit into
masterfrom
fix-functions-region

Conversation

@daniel-sanche

Copy link
Copy Markdown
Contributor

Changed the region format for GCF and Cloud Run to use the last path component, instead of the entire path returned from metadataserver ( us-central1 instead of projects/xxxxxx/regions/us-central1 )

Fixes #284

@daniel-sanche daniel-sanche requested review from a team May 10, 2021 19:29
@product-auto-label product-auto-label Bot added the api: logging Issues related to the googleapis/python-logging API. label May 10, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: logging Issues related to the googleapis/python-logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: incorrect format for resource.labels.region on GCF

2 participants