Merge "Removed unused TOKEN from upload_image"
This commit is contained in:
commit
1de69ff47d
@ -36,10 +36,9 @@ function function_exists {
|
||||
# - ``FILES`` must be set to the cache dir
|
||||
# - ``GLANCE_HOSTPORT``
|
||||
#
|
||||
# upload_image image-url glance-token
|
||||
# upload_image image-url
|
||||
function upload_image {
|
||||
local image_url=$1
|
||||
local token=$2
|
||||
|
||||
local image image_fname image_name
|
||||
|
||||
|
2
stack.sh
2
stack.sh
@ -1175,7 +1175,7 @@ if is_service_enabled g-reg; then
|
||||
fi
|
||||
|
||||
for image_url in ${IMAGE_URLS//,/ }; do
|
||||
upload_image $image_url $TOKEN
|
||||
upload_image $image_url
|
||||
done
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user