Merge "Sort ResourceGroup resource list"

This commit is contained in:
Jenkins 2017-03-27 19:59:32 +00:00 committed by Gerrit Code Review
commit f1c452fcf6
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ for role in $OVERCLOUD_ROLES; do
rg_stack=$(openstack stack resource show overcloud $role -c physical_resource_id -f value)
done
stacks=$(openstack stack resource list $rg_stack -c physical_resource_id -f value)
stacks=$(openstack stack resource list $rg_stack -c resource_name -c physical_resource_id -f json | jq -r "sort_by(.resource_name) | .[] | .physical_resource_id")
i=0