From 364fb60d6e85c0328cdb9cae61ba5ecd13b5215d Mon Sep 17 00:00:00 2001 From: Yun Huang Date: Tue, 15 May 2018 22:24:02 +0800 Subject: Fix imagefile url for Titanium Cloud Change-Id: Id8207080d7f5971cc56dfffbb0d38f6d3e87bcd0 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang --- windriver/titanium_cloud/requests/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'windriver/titanium_cloud/requests') diff --git a/windriver/titanium_cloud/requests/urls.py b/windriver/titanium_cloud/requests/urls.py index 6b5dc462..c3fd5a6a 100644 --- a/windriver/titanium_cloud/requests/urls.py +++ b/windriver/titanium_cloud/requests/urls.py @@ -35,7 +35,7 @@ urlpatterns = [ url(r'^images(/(?P[0-9a-zA-Z_-]+))?', image.Images.as_view()), # image-file - url(r'^api/multicloud-titanium_cloud/v0/(?P[0-9a-zA-Z_-]+)/image-file(/(?P[0-9a-zA-Z_-]+))?', + url(r'^image-file(/(?P[0-9a-zA-Z_-]+))?', imagefile.ImageFile.as_view()), url(r'^volumes(/(?P[0-9a-zA-Z_-]+))?', volume.Volumes.as_view()), -- cgit 1.2.3-korg