Merge "Removed unused TOKEN from upload_image"

This commit is contained in:
Jenkins 2015-09-28 20:46:25 +00:00 committed by Gerrit Code Review
commit 1de69ff47d
2 changed files with 2 additions and 3 deletions

View File

@ -36,10 +36,9 @@ function function_exists {
# - ``FILES`` must be set to the cache dir # - ``FILES`` must be set to the cache dir
# - ``GLANCE_HOSTPORT`` # - ``GLANCE_HOSTPORT``
# #
# upload_image image-url glance-token # upload_image image-url
function upload_image { function upload_image {
local image_url=$1 local image_url=$1
local token=$2
local image image_fname image_name local image image_fname image_name

View File

@ -1175,7 +1175,7 @@ if is_service_enabled g-reg; then
fi fi
for image_url in ${IMAGE_URLS//,/ }; do for image_url in ${IMAGE_URLS//,/ }; do
upload_image $image_url $TOKEN upload_image $image_url
done done
fi fi