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
This commit is contained in:
parent
c4c08686f8
commit
5aeea6ae3e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user