mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
feature #3718: Rename update_info method to set_deploy_id
This commit is contained in:
parent
96bea2e6b2
commit
5f1d630fc6
@ -385,8 +385,7 @@ public:
|
||||
* Updates VM dynamic information (id).
|
||||
* @param _deploy_id the VMM driver specific id
|
||||
*/
|
||||
void update_info(
|
||||
const string& _deploy_id)
|
||||
void set_deploy_id(const string& _deploy_id)
|
||||
{
|
||||
deploy_id = _deploy_id;
|
||||
};
|
||||
|
@ -1180,7 +1180,7 @@ void LifeCycleManager::recover(VirtualMachine * vm, bool success)
|
||||
|
||||
oss << "one-" << vm->get_oid();
|
||||
|
||||
vm->update_info(oss.str());
|
||||
vm->set_deploy_id(oss.str());
|
||||
}
|
||||
|
||||
lcm_action = LifeCycleManager::DEPLOY_SUCCESS;
|
||||
|
@ -256,7 +256,7 @@ void VirtualMachineManagerDriver::protocol(const string& message) const
|
||||
|
||||
is >> deploy_id;
|
||||
|
||||
vm->update_info(deploy_id);
|
||||
vm->set_deploy_id(deploy_id);
|
||||
|
||||
vmpool->update(vm);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user