1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

feature #3718: Rename update_info method to set_deploy_id

This commit is contained in:
Ruben S. Montero 2015-06-23 17:22:46 +02:00
parent 96bea2e6b2
commit 5f1d630fc6
3 changed files with 3 additions and 4 deletions

View File

@ -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;
};

View File

@ -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;

View File

@ -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);