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

lfrolov pushed a commit to branch DATALAB-2946
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2946 by this push:
     new a0255ab19 [DATALAB-2946]: changed arg from list to str
a0255ab19 is described below

commit a0255ab19c6e90ddf3cbcc717ae30ac86fbd6892
Author: leonidfrolov <[email protected]>
AuthorDate: Thu Aug 4 12:39:12 2022 +0300

    [DATALAB-2946]: changed arg from list to str
---
 infrastructure-provisioning/terraform/bin/datalab.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/terraform/bin/datalab.py 
b/infrastructure-provisioning/terraform/bin/datalab.py
index e0ef3dca2..7638b9355 100644
--- a/infrastructure-provisioning/terraform/bin/datalab.py
+++ b/infrastructure-provisioning/terraform/bin/datalab.py
@@ -165,9 +165,6 @@ class ParamsBuilder:
     def add_int(self, name, desc, **kwargs):
         return self.add(int, name, desc, **kwargs)
 
-    def add_list(self, name, desc, **kwargs):
-        return self.add(list, name, desc, **kwargs)
-
     @staticmethod
     def str2bool(v):
         if isinstance(v, bool):
@@ -1018,7 +1015,7 @@ class AWSEndpointBuilder(AbstractDeployBuilder):
                   default='false')
          .add_str('--billing_aws_account_id', 'The ID of ASW linked account', 
group='endpoint', default='')
          .add_str('--billing_tag', 'Billing tag', group='endpoint', 
default='datalab')
-         .add_list('--allowed_ip_cidrs', 'Allowed IP CIDRs for SGs', 
group='endpoint', default=['44.235.146.59/32'])
+         .add_str('--allowed_ip_cidrs', 'Allowed IP CIDRs for SGs', 
group='endpoint', default='["44.235.146.59/32"]')
          )
         return params.build()
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to