Skip to content

Commit

Permalink
Add --debug flag
Browse files Browse the repository at this point in the history
Don't enable debug by default so that output does not contain
sensitive information.
  • Loading branch information
dosaboy committed Sep 5, 2024
1 parent eb3376e commit d3760ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openstack/tools/charmed_openstack_functest_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ EOF
while (($# > 0))
do
case "$1" in
--debug)
set -x
;;
--func-test-target)
FUNC_TEST_TARGET=$2
shift
Expand Down Expand Up @@ -73,8 +76,6 @@ do
shift
done

set -x

source ~/novarc
export {,TEST_}CIDR_EXT=`openstack subnet show subnet_${OS_USERNAME}-psd-extra -c cidr -f value`
FIP_MAX=$(ipcalc $CIDR_EXT| awk '$1=="HostMax:" {print $2}')
Expand Down

0 comments on commit d3760ac

Please sign in to comment.