1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Bug #811: Image delete does not use the old image repo anymore

(cherry picked from commit c8c82f03783c5f297fa8db4bc3fad54a335d6738)
This commit is contained in:
Tino Vazquez 2011-09-15 12:54:29 +02:00
parent 96a539d481
commit 459b41fb42

View File

@ -563,7 +563,7 @@ class OCCIServer < CloudServer
return rc, 404 if OpenNebula::is_error?(rc)
# --- Delete the Image ---
rc = @img_repo.delete(image)
rc = image.delete
return rc, 500 if OpenNebula::is_error?(rc)
return "", 204