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:
parent
e88ff5f0da
commit
3721b0ff68
@ -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_*/
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user