From 6c6455dad40d6fa8d5af53a95c3f39ef3c913539 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <post@soeren-henning.de>
Date: Sat, 2 May 2020 12:35:03 +0200
Subject: [PATCH] Fix topic deletion

---
 execution/run_uc1-new.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/execution/run_uc1-new.sh b/execution/run_uc1-new.sh
index d83772da3..4a9871b7e 100755
--- a/execution/run_uc1-new.sh
+++ b/execution/run_uc1-new.sh
@@ -37,7 +37,8 @@ python lag_analysis.py $EXP_ID uc1 $DIM_VALUE $INSTANCES
 deactivate
 
 # Stop wl and app
-kubectl delete -f uc1-workload-generator/deployment.yaml
+#kubectl delete -f uc1-workload-generator/deployment.yaml
+sed "s/{{NUM_SENSORS}}/$NUM_SENSORS/g; s/{{INSTANCES}}/$WL_INSTANCES/g" uc1-workload-generator/deployment.yaml | kubectl delete -f -
 kubectl delete -f uc1-application/aggregation-deployment.yaml
 
 
-- 
GitLab