Skip to content

Commit 4d738c7

Browse files
authored
Update get-metrics.py
1 parent def65be commit 4d738c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/get-metrics.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
from google.analytics.data_v1beta.types import DateRange, Metric, RunReportRequest
88

99
PORTAL_ID = os.environ.get('PORTAL_ID')
10-
print(len(PORTAL_ID))
10+
print('Portal'+len(PORTAL_ID))
1111
FOUNDATIONS_ID = os.environ.get('FOUNDATIONS_ID')
12-
print(len(FOUNDATIONS_ID))
12+
print('Foundations'+len(FOUNDATIONS_ID))
1313
COOKBOOKS_ID = os.environ.get('COOKBOOKS_ID')
14-
print(len(COOKBOOKS_ID))
14+
print('Cookbooks'+len(COOKBOOKS_ID))
1515

1616
PRIVATE_KEY_ID = os.environ.get('PRIVATE_KEY_ID')
17-
print(len(PRIVATE_KEY_ID))
17+
print('Key ID' +len(PRIVATE_KEY_ID))
1818
PRIVATE_KEY = os.environ.get('PRIVATE_KEY').replace('$','\n')
19-
print(len(PRIVATE_KEY))
19+
print('Key'+len(PRIVATE_KEY))
2020
#credentials_dict = {
2121
# "type": "service_account",
2222
# "project_id": "cisl-vast-pythia",
@@ -32,7 +32,7 @@
3232
#}
3333

3434
ENCODED_CREDENTIALS = os.environ.get('ENCODED_CREDENTIALS')
35-
print(len(ENCODED_CREDENTIALS))
35+
print('Credentials'+len(ENCODED_CREDENTIALS))
3636
if ENCODED_CREDENTIALS is None:
3737
print("OH NO")
3838
raise Exception("Encoded credentials secret not found!")

0 commit comments

Comments
 (0)