This is an automated email from the ASF dual-hosted git repository.

mykolabodnar pushed a commit to branch DLAB-13xx_versions
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-13xx_versions by this 
push:
     new fb17ae2  test
fb17ae2 is described below

commit fb17ae24aac9dd4789ffa8602b1d501c34ec66cc
Author: Mykola_Bodnar1 <bodnarmyk...@gmail.com>
AuthorDate: Wed Dec 11 14:32:34 2019 +0200

    test
---
 .../src/general/lib/gcp/actions_lib.py                       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py 
b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
index c647a15..7905cd7 100644
--- a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
@@ -553,12 +553,12 @@ class GCPActions:
             traceback.print_exc(file=sys.stdout)
 
     def set_role_to_service_account(self, service_account_name, role_name, 
role_type='custom'):
-        request = 
GCPActions().service_resource.projects().getIamPolicy(resource=self.project, 
body={})
-        print('log1')
-        print(request)
-        project_policy = request.execute()
-        print('log2')
-        print(project_policy)
+        #request = 
GCPActions().service_resource.projects().getIamPolicy(resource=self.project, 
body={})
+        #print('log1')
+        #print(request)
+        #project_policy = request.execute()
+        #print('log2')
+        #print(project_policy)
         service_account_email = 
"{}@{}.iam.gserviceaccount.com".format(service_account_name, self.project)
         print('log3')
         print(service_account_email)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to