diff --git a/functions b/functions index 3dae157a0c..ff95c89ad9 100644 --- a/functions +++ b/functions @@ -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 diff --git a/stack.sh b/stack.sh index 5cbf7a4aeb..cd8a11e66c 100755 --- a/stack.sh +++ b/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