mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-12 09:17:41 +03:00
Feature #2917: Overwrite ONEGATE_ENDPOINT in the context even if the user has defined it in the user template
This commit is contained in:
parent
b588485bde
commit
4c3ca07869
@ -925,13 +925,9 @@ int VirtualMachine::parse_context(string& error_str)
|
||||
if (token)
|
||||
{
|
||||
string endpoint;
|
||||
endpoint = context_parsed->vector_value("ONEGATE_ENDPOINT");
|
||||
|
||||
if ( endpoint.empty() )
|
||||
{
|
||||
Nebula::instance().get_configuration_attribute(
|
||||
Nebula::instance().get_configuration_attribute(
|
||||
"ONEGATE_ENDPOINT", endpoint);
|
||||
}
|
||||
|
||||
if ( endpoint.empty() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user