Commit adabce5
Functions: Use documented way to fetch current GCP project ID. (GoogleCloudPlatform#1594)
The document at https://cloud.google.com/functions/docs/env-var suggests
using env['GCP_PROJECT'] for current project ID, and
env['GCLOUD_PROJECT'] is deprecated.1 parent e118431 commit adabce5
File tree
2 files changed
+2
-2
lines changed- functions/helloworld
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments