Merge "Make database backups work with openstack Train"

This commit is contained in:
Zuul 2020-09-29 19:49:55 +00:00 committed by Gerrit Code Review
commit aad20a35c4
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Helm-Toolkit
name: helm-toolkit
version: 0.1.1
version: 0.1.2
home: https://docs.openstack.org/openstack-helm
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
sources:

View File

@ -133,7 +133,7 @@ send_to_remote_server() {
echo $RESULT | grep $CONTAINER_NAME
if [[ $? -ne 0 ]]; then
# Find the swift URL from the keystone endpoint list
SWIFT_URL=$(openstack catalog list -f value | grep swift | grep public | awk '{print $2}')
SWIFT_URL=$(openstack catalog show object-store -c endpoints | grep public | awk '{print $4}')
# Get a token from keystone
TOKEN=$(openstack token issue -f value -c id)