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:
parent
685a46365d
commit
c6d7c6046f
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user