This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-1531 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 2f3dbdffe244449888662763b7f39a557bdd58c8 Author: leonidfrolov <[email protected]> AuthorDate: Thu Feb 20 10:29:52 2020 +0200 DLAB-1531 added some prints for testing --- infrastructure-provisioning/src/general/lib/gcp/actions_lib.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py index aefc902..8657b78 100644 --- a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py +++ b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py @@ -190,9 +190,11 @@ class GCPActions: def add_bucket_label(self, bucket_name, key , value): try: + print('----------adding tags to bucket: ' + bucket_name) bucket = self.storage_client.get_bucket(bucket_name) - labels = bucket.labels + print('labels:') + print(labels) labels[key] = '{}'.format(value) bucket.labels = labels bucket.patch() --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
