Merge "Remove _ceilometer_check_for_storage check"

This commit is contained in:
Zuul 2019-04-25 04:07:47 +00:00 committed by Gerrit Code Review
commit 668850c5fb
1 changed files with 0 additions and 18 deletions

View File

@ -58,24 +58,6 @@ CEILOMETER_EVENT_ALARM=${CEILOMETER_EVENT_ALARM:-False}
# Set up default directories for middleware
GITDIR["ceilometermiddleware"]=$DEST/ceilometermiddleware
# Make sure panko plugin is enabled before ceilometer
function _ceilometer_check_for_storage {
local plugins="${DEVSTACK_PLUGINS}"
local plugin
local seen_ceilometer=False
for plugin in ${plugins//,/ }; do
if [ "$plugin" == 'ceilometer' ]; then
seen_ceilometer=True
elif [ "$plugin" == 'panko' ] && [[ "$seen_ceilometer" == 'True' ]]; then
die $LINENO "Panko must be enabled before ceilometer!"
fi
done
}
_ceilometer_check_for_storage
# Get rid of this before done.
# Tell emacs to use shell-script-mode
## Local variables: