Browse code

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

Attila Fazekas authored on 2015/02/24 21:00:51
Showing 1 changed files
... ...
@@ -43,14 +43,6 @@ REGION_NAME=${REGION_NAME:-RegionOne}
43 43
 #  enable_service q-meta
44 44
 #  # Optional, to enable tempest configuration as part of devstack
45 45
 #  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
-}
54 46
 
55 47
 # this allows us to pass ENABLED_SERVICES
56 48
 if ! isset ENABLED_SERVICES ; then