1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-02 10:50:07 +03:00

Remove unused Zone attribute

This commit is contained in:
Ruben S. Montero 2014-01-24 00:26:44 +01:00
parent e88ff5f0da
commit 3721b0ff68
2 changed files with 6 additions and 14 deletions

View File

@ -60,16 +60,6 @@ private:
~Zone();
// -------------------------------------------------------------------------
// Zone Description
// -------------------------------------------------------------------------
/**
* Endpoint of the zone
*/
string endpoint;
// *************************************************************************
// DataBase implementation (Private)
// *************************************************************************
@ -124,7 +114,7 @@ private:
Template * get_new_template() const
{
return new Template;
}
}
};
#endif /*ZONE_H_*/

View File

@ -58,8 +58,10 @@ Zone::~Zone()
int Zone::insert(SqlDB *db, string& error_str)
{
int rc;
ostringstream oss;
int rc;
string endpoint;
ostringstream oss;
// ---------------------------------------------------------------------
// Check default attributes
@ -78,7 +80,7 @@ int Zone::insert(SqlDB *db, string& error_str)
if ( endpoint.empty() )
{
goto error_endpoint;
}
}
// ------------------------------------------------------------------------
// Insert the Zone