Skip to content

Commit b8cf38c

Browse files
committed
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
1 parent b5d1de0 commit b8cf38c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

stackrc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ REGION_NAME=${REGION_NAME:-RegionOne}
4343
# enable_service q-meta
4444
# # Optional, to enable tempest configuration as part of devstack
4545
# enable_service tempest
46-
function isset {
47-
local nounset=$(set +o | grep nounset)
48-
set +o nounset
49-
[[ -n "${!1+x}" ]]
50-
result=$?
51-
$nounset
52-
return $result
53-
}
5446

5547
# this allows us to pass ENABLED_SERVICES
5648
if ! isset ENABLED_SERVICES ; then

0 commit comments

Comments
 (0)