MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetCommandName

Method GetCommandName

lib/icinga/compatutility.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59String CompatUtility::GetCommandName(const Command::Ptr& command)
60/* Used in DB IDO and Livestatus. */
61{
62 if (!command)
63 return Empty;
64
65 return GetCommandNamePrefix(command) + command->GetName();
66}
67
68/* Used in DB IDO and Livestatus. */
69String CompatUtility::GetCheckableCommandArgs(const Checkable::Ptr& checkable)

Callers

nothing calls this directly

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected