From 5aeea6ae3e2434d7b08bce2da672061cdba08ab0 Mon Sep 17 00:00:00 2001 From: Peter Stachowski Date: Tue, 22 Sep 2015 19:38:02 +0000 Subject: [PATCH] Removed unused TOKEN from upload_image Changeset https://review.openstack.org/#/c/225426/ changed how images were uploaded into Glance, however the (now) unused TOKEN variable and function argument to upload_image remained. These have been removed. Change-Id: I9910c469f72d52e56111048cc24ea3c992c1d480 --- functions | 3 +-- stack.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 3625e5f296..ae9c946aaa 100755 --- a/stack.sh +++ b/stack.sh @@ -1225,7 +1225,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