Merge "Remove duplicated isset function"

This commit is contained in:
Jenkins 2015-02-25 01:33:31 +00:00 committed by Gerrit Code Review
commit 7cffc6c992

View File

@ -43,14 +43,6 @@ REGION_NAME=${REGION_NAME:-RegionOne}
# enable_service q-meta # enable_service q-meta
# # Optional, to enable tempest configuration as part of devstack # # Optional, to enable tempest configuration as part of devstack
# enable_service tempest # enable_service tempest
function isset {
local nounset=$(set +o | grep nounset)
set +o nounset
[[ -n "${!1+x}" ]]
result=$?
$nounset
return $result
}
# this allows us to pass ENABLED_SERVICES # this allows us to pass ENABLED_SERVICES
if ! isset ENABLED_SERVICES ; then if ! isset ENABLED_SERVICES ; then