X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fbenchmark%2Fscenarios%2Favailability%2Fha_tools%2Fnova%2Fdelete_flavor.bash;h=7240476f7d1829a99370328cd3e33f37c255db7d;hb=deccb02a8adabe609c2e903ce9f60e8b39db6c29;hp=67d0c902e5cbe288258980dc1a75127210fb1254;hpb=df30d59db7bf598d1ecdb874f84d722445a15fde;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..7240476f7 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