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

B #5559: Fix image encryption on create (#1614)

(cherry picked from commit 7f2319c67f28f38639ad6cbb4f70f7a7d74ec51d)
This commit is contained in:
Pavel Czerný 2021-11-25 10:03:07 +01:00 committed by Ruben S. Montero
parent 6f32df2037
commit f2b3ccbeed
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -223,6 +223,8 @@ int Image::insert(SqlDB *db, string& error_str)
state = LOCKED; //LOCKED till the ImageManager copies it to the Repository
encrypt();
//--------------------------------------------------------------------------
// Insert the Image
//--------------------------------------------------------------------------