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

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

commit 160e3c5f2fa63432fc77b33f68a36e297a4f7230
Author: leonidfrolov <[email protected]>
AuthorDate: Mon Oct 4 16:45:49 2021 +0300

    [DATALAB-2409]: fixed function call
---
 infrastructure-provisioning/src/general/lib/os/fab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py 
b/infrastructure-provisioning/src/general/lib/os/fab.py
index c14a867..fd17252 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -277,7 +277,7 @@ def configure_http_proxy_server(config):
                 replace_string += 'acl AllowedCIDRS src {}\\n'.format(cidr)
             conn.sudo('sed -i "s|ALLOWED_CIDRS|{}|g" 
/etc/squid/squid.conf'.format(replace_string))
             conn.sudo('systemctl restart squid')
-            fab.conn.sudo('touch /tmp/http_proxy_ensured')
+            conn.sudo('touch /tmp/http_proxy_ensured')
     except Exception as err:
         logging.error('Fai to install and configure squid:', str(err))
         traceback.print_exc()

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

Reply via email to