mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 13:55:41 +00:00
Ensure only 1 Swift URL is used
This commit is contained in:
parent
7d4383c6e1
commit
708f917e63
@ -194,7 +194,7 @@ function run-heat-script() {
|
|||||||
else
|
else
|
||||||
rgx="publicURL: (.+)$"
|
rgx="publicURL: (.+)$"
|
||||||
fi
|
fi
|
||||||
SWIFT_SERVER_URL=$(openstack catalog show object-store --format value | egrep -o "$rgx" | cut -d" " -f2)
|
SWIFT_SERVER_URL=$(openstack catalog show object-store --format value | egrep -o "$rgx" | cut -d" " -f2 | head -n 1)
|
||||||
fi
|
fi
|
||||||
local swift_repo_url="${SWIFT_SERVER_URL}/kubernetes"
|
local swift_repo_url="${SWIFT_SERVER_URL}/kubernetes"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user