Skip to content

Commit

Permalink
- CF file change to closely match between HTTP/PUBSUB trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
gord-nuttall-adswerve committed Jan 18, 2021
1 parent ee92824 commit 1cc9181
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cfconfigbuilder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import json
import os


class FlattenerDatasetConfigStorage(object):
def __init__(self):
self.bucket_name = os.environ["config_bucket_name"]
Expand Down Expand Up @@ -78,10 +77,8 @@ def build_ga_flattener_config(request):
Response object using `make_response`
<http://flask.pocoo.org/docs/1.0/api/#flask.Flask.make_response>.
"""
print("build_ga_flattener_config cloud function - start")
config = FlattenerDatasetConfig()
store = FlattenerDatasetConfigStorage()
json_config = config.get_ga_datasets()
store.upload_config(config=json_config)
print("build_ga_flattener_config: {}".format(json.dumps(json_config)))
print("build_ga_flattener_config cloud function - end")

0 comments on commit 1cc9181

Please sign in to comment.