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

feature #3782: Make IMAGE attribute mandatory

This commit is contained in:
Ruben S. Montero 2015-06-24 14:19:03 +02:00
parent 685a46365d
commit c6d7c6046f

View File

@ -411,7 +411,7 @@ int Image::from_xml(const string& xml)
rc += xpath(cloning_ops, "/IMAGE/CLONING_OPS", -1);
rc += xpath(cloning_id, "/IMAGE/CLONING_ID", -1);
xpath(target_snapshot, "/IMAGE/TARGET_SNAPSHOT", -1);
rc += xpath(target_snapshot, "/IMAGE/TARGET_SNAPSHOT", -1);
rc += xpath(ds_id, "/IMAGE/DATASTORE_ID", -1);
rc += xpath(ds_name, "/IMAGE/DATASTORE", "not_found");