base: remove redudant ip_to_convert
[yardstick.git] / yardstick / benchmark / scenarios / availability / ha_tools / nova / delete_flavor.bash
index 617dcf8..d39926f 100644 (file)
@@ -14,7 +14,7 @@
 
 set -e
 
-if [ $OS_CACERT ] && [ "$(echo $OS_CACERT | tr '[:upper:]' '[:lower:]')" = "false" ]; then
+if [ $OS_INSECURE ] && [ "$(echo $OS_INSECURE | tr '[:upper:]' '[:lower:]')" = "true" ]; then
     SECURE="--insecure"
 else
     SECURE=""