Skip to content

Commit b80917d

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "[release] Fix kolla-feature-flags.sh"
2 parents 6d1dd92 + d759b5f commit b80917d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/kolla-feature-flags.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ set -e
1010
set -o pipefail
1111

1212
KOLLA_ANSIBLE_SRC=$1
13-
KOLLA_GROUP_VARS_ALL=${KOLLA_ANSIBLE_SRC}/ansible/group_vars/all.yml
13+
KOLLA_GROUP_VARS_ALL=${KOLLA_ANSIBLE_SRC}/ansible/group_vars/all
1414

15-
if [[ ! -f $KOLLA_GROUP_VARS_ALL ]]; then
15+
if [[ ! -d $KOLLA_GROUP_VARS_ALL ]]; then
1616
echo "Usage: $0 <path to kolla-ansible source>"
1717
exit 1
1818
fi
1919

2020
# Find all feature flags, strip the enable_ prefix and value, sort.
21-
cat ${KOLLA_GROUP_VARS_ALL} | grep '^enable_'| sed -e 's/enable_\(.*\):.*/ - \1/' | sort
21+
cat ${KOLLA_GROUP_VARS_ALL}/*.yml | grep '^enable_'| sed -e 's/enable_\(.*\):.*/ - \1/' | sort

0 commit comments

Comments
 (0)