typo error 37/18437/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 11 Aug 2016 14:22:04 +0000 (09:22 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 11 Aug 2016 14:22:25 +0000 (09:22 -0500)
Change-Id: I12bca680d405f917612af1925d8a9bb3c894e79c
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/02-deploybundle.sh

index 22d4497..edae730 100755 (executable)
@@ -61,15 +61,15 @@ if [ -e ~/.juju/deployment.yaml ]; then
     echo $max
 
     if [ "$max" -lt 8 ];then
-        workmutiple=1
-    elif [ "$max" -lt 32 ]; then
+        workmutiple=1.0
+    elif [ "$max" -lt 33 ]; then
         workmutiple=0.25
-    elif [ "$max" -lt 72 ]; then
+    elif [ "$max" -lt 73 ]; then
         workmutiple=0.1
     else
         workmutiple=0.05
     fi
-    sed -i "s/worker-multiplier: 2/worker-multiplier: ${workmutiple}/g" default_deployment_config.yaml
+    sed -i "s/worker_multiplier: 2/worker_multiplier: ${workmutiple}/g" default_deployment_config.yaml
 fi
 
 case "$opnfvlab" in