diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-05-15 22:24:02 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-05-15 22:35:10 +0800 |
commit | 364fb60d6e85c0328cdb9cae61ba5ecd13b5215d (patch) | |
tree | a02c06fe7048d9d59d0f0a1c40801fa3df69987e | |
parent | caa098049b68993b6cf7965ff14114f47c7aaad5 (diff) |
Fix imagefile url for Titanium Cloud
Change-Id: Id8207080d7f5971cc56dfffbb0d38f6d3e87bcd0
Issue-ID: MULTICLOUD-207
Signed-off-by: Yun Huang <yun.huang@windriver.com>
-rw-r--r-- | windriver/titanium_cloud/requests/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<imageid>[0-9a-zA-Z_-]+))?', image.Images.as_view()), # image-file - url(r'^api/multicloud-titanium_cloud/v0/(?P<vimid>[0-9a-zA-Z_-]+)/image-file(/(?P<imageid>[0-9a-zA-Z_-]+))?', + url(r'^image-file(/(?P<imageid>[0-9a-zA-Z_-]+))?', imagefile.ImageFile.as_view()), url(r'^volumes(/(?P<volumeid>[0-9a-zA-Z_-]+))?', volume.Volumes.as_view()), |