mirror of https://github.com/Icinga/icinga2.git
Replace spaces with tabs
This commit is contained in:
parent
e7938c9374
commit
a11cdbdc39
|
@ -684,7 +684,7 @@ void StatusDataWriter::UpdateObjectsCache(void)
|
|||
tempobjectfp << "\t" "members" "\t";
|
||||
DumpNameList(tempobjectfp, ug->GetMembers());
|
||||
tempobjectfp << "\n"
|
||||
"\t" "}" "\n";
|
||||
"\t" "}" "\n";
|
||||
|
||||
objectfp << tempobjectfp.str();
|
||||
}
|
||||
|
|
|
@ -76,7 +76,6 @@ void ConfigCompilerContext::FinishObjectsFile(void)
|
|||
<< boost::errinfo_api_function("rename")
|
||||
<< boost::errinfo_errno(errno)
|
||||
<< boost::errinfo_file_name(tempFilename));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
%attribute %string "icon_image",
|
||||
%attribute %string "icon_image_alt",
|
||||
|
||||
%attribute %name(Endpoint) "command_endpoint",
|
||||
%attribute %name(Endpoint) "command_endpoint",
|
||||
}
|
||||
|
||||
%type Host %inherits Checkable {
|
||||
|
@ -139,7 +139,7 @@
|
|||
%attribute %number "*"
|
||||
},
|
||||
|
||||
%attribute %name(Endpoint) "command_endpoint",
|
||||
%attribute %name(Endpoint) "command_endpoint",
|
||||
}
|
||||
|
||||
%type User {
|
||||
|
|
|
@ -98,9 +98,9 @@ Object::Ptr CommentsTable::HostAccessor(const Value& row, const Column::ObjectAc
|
|||
|
||||
Checkable::Ptr checkable = Checkable::GetOwnerByCommentID(comment->GetId());
|
||||
|
||||
Host::Ptr host;
|
||||
Service::Ptr service;
|
||||
tie(host, service) = GetHostService(checkable);
|
||||
Host::Ptr host;
|
||||
Service::Ptr service;
|
||||
tie(host, service) = GetHostService(checkable);
|
||||
|
||||
return host;
|
||||
}
|
||||
|
@ -111,9 +111,9 @@ Object::Ptr CommentsTable::ServiceAccessor(const Value& row, const Column::Objec
|
|||
|
||||
Checkable::Ptr checkable = Checkable::GetOwnerByCommentID(comment->GetId());
|
||||
|
||||
Host::Ptr host;
|
||||
Service::Ptr service;
|
||||
tie(host, service) = GetHostService(checkable);
|
||||
Host::Ptr host;
|
||||
Service::Ptr service;
|
||||
tie(host, service) = GetHostService(checkable);
|
||||
|
||||
return service;
|
||||
}
|
||||
|
|
|
@ -98,9 +98,9 @@ Object::Ptr DowntimesTable::HostAccessor(const Value& row, const Column::ObjectA
|
|||
|
||||
Checkable::Ptr checkable = Checkable::GetOwnerByDowntimeID(downtime->GetId());
|
||||
|
||||
Host::Ptr host;
|
||||
Service::Ptr service;
|
||||
tie(host, service) = GetHostService(checkable);
|
||||
Host::Ptr host;
|
||||
Service::Ptr service;
|
||||
tie(host, service) = GetHostService(checkable);
|
||||
|
||||
return host;
|
||||
}
|
||||
|
@ -111,9 +111,9 @@ Object::Ptr DowntimesTable::ServiceAccessor(const Value& row, const Column::Obje
|
|||
|
||||
Checkable::Ptr checkable = Checkable::GetOwnerByDowntimeID(downtime->GetId());
|
||||
|
||||
Host::Ptr host;
|
||||
Service::Ptr service;
|
||||
tie(host, service) = GetHostService(checkable);
|
||||
Host::Ptr host;
|
||||
Service::Ptr service;
|
||||
tie(host, service) = GetHostService(checkable);
|
||||
|
||||
return service;
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ class I2_METHODS_API PluginEventTask
|
|||
{
|
||||
public:
|
||||
static void ScriptFunc(const Checkable::Ptr& service,
|
||||
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
|
||||
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
|
||||
|
||||
private:
|
||||
PluginEventTask(void);
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
static void ScriptFunc(const Notification::Ptr& notification,
|
||||
const User::Ptr& user, const CheckResult::Ptr& cr, int itype,
|
||||
const String& author, const String& comment,
|
||||
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
|
||||
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
|
||||
|
||||
private:
|
||||
PluginNotificationTask(void);
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
}
|
||||
|
||||
%type GelfWriter {
|
||||
%attribute %string "host",
|
||||
%attribute %string "port",
|
||||
%attribute %string "source"
|
||||
%attribute %string "host",
|
||||
%attribute %string "port",
|
||||
%attribute %string "source"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue