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

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

commit 31e6258443c9b1fe0b5e68dca905105f3b9cd321
Author: leonidfrolov <[email protected]>
AuthorDate: Wed Jul 7 14:19:51 2021 +0300

    [DATALAB-2499]: fixed R package install for spark
---
 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 7aa582e..bb89cd5 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -550,7 +550,7 @@ def ensure_dataengine_service_devtools():
 def install_r_pkg(requisites):
     status = list()
     error_parser = "ERROR:|error:|Cannot|failed|Please 
run|requires|Error|Skipping|couldn't find"
-    if os.environ['conf_resource'] in 'dataengine-service':
+    if os.environ['conf_resource'] == 'dataengine-service':
         ensure_dataengine_service_devtools()
     try:
         for r_pkg in requisites:

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

Reply via email to