1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-26 09:57:23 +03:00

F #1872: Changed wrong method name

This commit is contained in:
juanmont 2018-04-09 08:57:02 +02:00 committed by Ruben S. Montero
parent a294385f0e
commit d6e290dec2
2 changed files with 4 additions and 4 deletions

View File

@ -135,7 +135,7 @@ private:
* @param default_vdc_acl the mask for the acls.
* @param type Object type for the acls.
*/
void insert_defult_rules(string default_vdc_acl, PoolObjectSQL::ObjectType type);
void insert_default_rules(string default_vdc_acl, PoolObjectSQL::ObjectType type);
};
/**

View File

@ -397,7 +397,7 @@ int Vdc::del_group(int group_id, string& error_msg)
/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
void ResourceSet::insert_defult_rules(string name_attr, PoolObjectSQL::ObjectType type)
void ResourceSet::insert_default_rules(string name_attr, PoolObjectSQL::ObjectType type)
{
string default_vdc_acl;
vector<string> vdc_acl;
@ -443,7 +443,7 @@ ResourceSet::ResourceSet(PoolObjectSQL::ObjectType _type):type(_type)
xml_name = PoolObjectSQL::type_to_str(type);
name_attr = "DEFAULT_VDC_" + xml_name + "_ACL";
insert_defult_rules(name_attr, type);
insert_default_rules(name_attr, type);
break;
// @<gid> HOST/%<cid> MANAGE #<zid>
@ -454,7 +454,7 @@ ResourceSet::ResourceSet(PoolObjectSQL::ObjectType _type):type(_type)
{
name_attr = "DEFAULT_VDC_CLUSTER_" + *it_c + "_ACL";
insert_defult_rules(name_attr, PoolObjectSQL::str_to_type(*it_c));
insert_default_rules(name_attr, PoolObjectSQL::str_to_type(*it_c));
}
xml_name = "CLUSTER";