Browse Source

Merge "Always pass the public endpoint to the client" into stable/newton

Jenkins 1 year ago
parent
commit
843b4754f6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      openstack_dashboard/api/glance.py

+ 1
- 1
openstack_dashboard/api/glance.py View File

@@ -388,7 +388,7 @@ def get_image_upload_mode():
388 388
 class ExternallyUploadedImage(Image):
389 389
     def __init__(self, apiresource, request):
390 390
         super(ExternallyUploadedImage, self).__init__(apiresource)
391
-        image_endpoint = base.url_for(request, 'image')
391
+        image_endpoint = base.url_for(request, 'image', 'publicURL')
392 392
         if VERSIONS.active >= 2:
393 393
             upload_template = "%s/v2/images/%s/file"
394 394
         else:

Loading…
Cancel
Save