mirror of https://github.com/Icinga/icinga2.git
DB IDO: Remove check_command_args column
The populated value is not entirely correct, and pulls in lots of compat code.
This commit is contained in:
parent
9de233630a
commit
e5462ea3d1
|
@ -62,7 +62,6 @@ Dictionary::Ptr HostDbObject::GetConfigFields() const
|
|||
fields->Set("address6", host->GetAddress6());
|
||||
|
||||
fields->Set("check_command_object_id", host->GetCheckCommand());
|
||||
fields->Set("check_command_args", CompatUtility::GetCheckableCommandArgs(host));
|
||||
fields->Set("eventhandler_command_object_id", host->GetEventCommand());
|
||||
fields->Set("eventhandler_command_args", Empty);
|
||||
fields->Set("notification_timeperiod_object_id", Empty);
|
||||
|
|
|
@ -57,7 +57,6 @@ Dictionary::Ptr ServiceDbObject::GetConfigFields() const
|
|||
fields->Set("host_object_id", host);
|
||||
fields->Set("display_name", service->GetDisplayName());
|
||||
fields->Set("check_command_object_id", service->GetCheckCommand());
|
||||
fields->Set("check_command_args", CompatUtility::GetCheckableCommandArgs(service));
|
||||
fields->Set("eventhandler_command_object_id", service->GetEventCommand());
|
||||
fields->Set("eventhandler_command_args", Empty);
|
||||
fields->Set("notification_timeperiod_object_id", Empty);
|
||||
|
|
Loading…
Reference in New Issue