Skip to content

Commit

Permalink
Tentacles v4.1.2
Browse files Browse the repository at this point in the history
Fix the error when check firestore in bash script
  • Loading branch information
lushu committed Nov 9, 2023
1 parent ac832d8 commit 6bbcf8c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,8 @@ check_firestore_existence() {
local firestore mode appRegion
mode="${1}"
appRegion="${2}"
firestore=$(gcloud firestore databases list --format="csv[no-heading](databases.type)")
firestore=$(gcloud firestore databases list \
--filter="name:(default)" --format="csv[no-heading](type)")
if [[ -z "${firestore}" ]]; then
printf '%s\n' "Firestore is not ready. Creating a new Firestore database\
is an irreversible operation, so read carefully before continue:"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@google-cloud/nodejs-common",
"version": "1.9.0",
"version": "1.9.1",
"description": "A NodeJs common library for solutions based on Cloud Functions",
"author": "Google Inc.",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@google-cloud/gmp-googleads-connector",
"version": "4.1.1",
"version": "4.1.2",
"description": "GMP & Google Ads connector based on Cloud Functions",
"author": "Google Inc.",
"license": "Apache-2.0",
Expand All @@ -20,7 +20,7 @@
"homepage": "https://github.com/GoogleCloudPlatform/cloud-for-marketing/blob/master/marketing-analytics/activation/gmp-googleads-connector/README.md",
"main": "index.js",
"dependencies": {
"@google-cloud/nodejs-common": "1.9.0",
"@google-cloud/nodejs-common": "1.9.1",
"@google-cloud/storage": "^7.0.1",
"nanoid": "^3.3.4",
"ssh2-sftp-client": "^8.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class Tentacles {

/**
* Based on the size of bytes in one record/line and the qps of config, gets
* the best split size of a task.
* the best split size (MB) of a task.
* @param {StorageFile} storageFile
* @param {Object} taskBaseInfo
* @return {number}
Expand Down

0 comments on commit 6bbcf8c

Please sign in to comment.