Skip to content

Commit 927a564

Browse files
authored
chore(eventarc): update region tags (GoogleCloudPlatform#5561)
Signed-off-by: Grant Timmerman <[email protected]>
1 parent ccc0e73 commit 927a564

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

eventarc/audit-storage/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
# [START eventarc_gcs_dockerfile]
15+
# [START eventarc_audit_storage_dockerfile]
1616

1717
# Use the official Python image.
1818
# https://hub.docker.com/_/python
@@ -38,4 +38,4 @@ COPY . ./
3838
# For environments with multiple CPU cores, increase the number of workers
3939
# to be equal to the cores available.
4040
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app
41-
# [END eventarc_gcs_dockerfile]
41+
# [END eventarc_audit_storage_dockerfile]

eventarc/audit-storage/main.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
# [START eventarc_gcs_server]
15+
# [START eventarc_audit_storage_server]
1616
import os
1717

1818
from flask import Flask, request
1919

2020

2121
app = Flask(__name__)
22-
# [END eventarc_gcs_server]
22+
# [END eventarc_audit_storage_server]
2323

2424

25-
# [START eventarc_gcs_handler]
25+
# [START eventarc_audit_storage_handler]
2626
@app.route('/', methods=['POST'])
2727
def index():
2828
# Gets the GCS bucket name from the CloudEvent header
@@ -31,10 +31,10 @@ def index():
3131

3232
print(f"Detected change in Cloud Storage bucket: {bucket}")
3333
return (f"Detected change in Cloud Storage bucket: {bucket}", 200)
34-
# [END eventarc_gcs_handler]
34+
# [END eventarc_audit_storage_handler]
3535

3636

37-
# [START eventarc_gcs_server]
37+
# [START eventarc_audit_storage_server]
3838
if __name__ == "__main__":
3939
app.run(debug=True, host='0.0.0.0', port=int(os.environ.get('PORT', 8080)))
40-
# [END eventarc_gcs_server]
40+
# [END eventarc_audit_storage_server]

0 commit comments

Comments
 (0)