X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fbenchmark%2Fscenarios%2Favailability%2Fha_tools%2Fnova%2Fdelete_flavor.bash;h=d39926fc51c3262f73b10148c74cb9ff10b8790a;hb=fd103cb8170290402e9c95fce32317bacf675698;hp=67d0c902e5cbe288258980dc1a75127210fb1254;hpb=2c8db1d8bf6ba6a112c186416dafacc1d797d40e;p=yardstick.git diff --git a/yardstick/benchmark/scenarios/availability/ha_tools/nova/delete_flavor.bash b/yardstick/benchmark/scenarios/availability/ha_tools/nova/delete_flavor.bash index 67d0c902e..d39926fc5 100644 --- a/yardstick/benchmark/scenarios/availability/ha_tools/nova/delete_flavor.bash +++ b/yardstick/benchmark/scenarios/availability/ha_tools/nova/delete_flavor.bash @@ -14,6 +14,10 @@ set -e -source /root/openrc +if [ $OS_INSECURE ] && [ "$(echo $OS_INSECURE | tr '[:upper:]' '[:lower:]')" = "true" ]; then + SECURE="--insecure" +else + SECURE="" +fi -nova flavor-delete $1 \ No newline at end of file +openstack "${SECURE}" flavor delete $1