mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #4320: Do not add multiple CREATED_BY attributes
This commit is contained in:
parent
058e23c37a
commit
6db32d4470
@ -638,7 +638,6 @@ void VirtualMachineAction::request_execute(xmlrpc_c::paramList const& paramList,
|
||||
|
||||
default:
|
||||
att.resp_msg = "Internal error. Action result not defined";
|
||||
|
||||
failure_response(INTERNAL, att);
|
||||
}
|
||||
|
||||
|
@ -4797,7 +4797,7 @@ int VirtualMachine::generate_token_context(VectorAttribute * context, string& e)
|
||||
context->replace("VMID", oid);
|
||||
|
||||
// Store the original owner to compute token_password in case of a chown
|
||||
add_template_attribute("CREATED_BY", uid);
|
||||
replace_template_attribute("CREATED_BY", uid);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user