Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
40146039
Commit
40146039
authored
Feb 03, 2012
by
Giorgos Verigakis
Browse files
Bugfix
Method name was get_image, not get_meta
parent
149a9aa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/api/util.py
View file @
40146039
...
...
@@ -189,7 +189,7 @@ def get_image(image_id, owner):
def
get_backend_image
(
image_id
,
owner
):
backend
=
ImageBackend
(
owner
.
uniq
)
try
:
image
=
backend
.
get_
meta
(
image_id
)
image
=
backend
.
get_
image
(
image_id
)
if
not
image
:
raise
ItemNotFound
(
'Image not found.'
)
return
image
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment