Remove duplicated isset function
stackrc defines the isset function, but this function is already declared in functions-common. The stackrc sources the `functions` which sources the `functions-common`. Change-Id: I0772c42d049833334107c2e6da3700e544ce094f
This commit is contained in:
parent
b5d1de0a93
commit
b8cf38c05d
8
stackrc
8
stackrc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user