Revert "Expose SALT_MASTER_OPT_WORKER_THREADS env variable"
This reverts commit cb460781da0bd13ff539a71b6b4936d566b80fe3.
Related: PROD-27850 (PROD:27850)
Change-Id: Ia72f1c8c9028b6802cfff88ea9dd589a762a50c3
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index ede657b..1412a76 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -328,8 +328,6 @@
// Setup virtualenv for pepper
python.setupPepperVirtualenv(venvPepper, SALT_MASTER_URL, SALT_MASTER_CREDENTIALS)
- // Expose number of worker threads to the env variable
- env['SALT_MASTER_OPT_WORKER_THREADS'] = salt.getReturnValues(salt.getPillar(venvPepper, "I@salt:master", "salt:master:worker_threads", 0))
}