Merge pull request #7799 from Icinga/bugfix/file-end

Fix file endings
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-08-25 11:06:19 +02:00 committed by GitHub
commit e5d988a2fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
48 changed files with 2 additions and 48 deletions

View File

@ -23,4 +23,3 @@ Object::Ptr Boolean::GetPrototype()
return prototype; return prototype;
} }

View File

@ -6,4 +6,3 @@
using namespace icinga; using namespace icinga;
REGISTER_BUILTIN_TYPE(Boolean, Boolean::GetPrototype()); REGISTER_BUILTIN_TYPE(Boolean, Boolean::GetPrototype());

View File

@ -33,4 +33,3 @@ Object::Ptr ConfigObject::GetPrototype()
return prototype; return prototype;
} }

View File

@ -25,4 +25,3 @@ Object::Ptr DateTime::GetPrototype()
return prototype; return prototype;
} }

View File

@ -95,4 +95,3 @@ void icinga::ShowCodeLocation(std::ostream& out, const DebugInfo& di, bool verbo
} }
} }
} }

View File

@ -116,4 +116,3 @@ Object::Ptr Dictionary::GetPrototype()
return prototype; return prototype;
} }

View File

@ -300,4 +300,3 @@ Dictionary::Iterator icinga::end(const Dictionary::Ptr& x)
{ {
return x->End(); return x->End();
} }

View File

@ -47,4 +47,3 @@ Object::Ptr Function::GetPrototype()
return prototype; return prototype;
} }

View File

@ -10,4 +10,3 @@ bool icinga::InitializeOnceHelper(const std::function<void()>& func, InitializeP
Loader::AddDeferredInitializer(func, priority); Loader::AddDeferredInitializer(func, priority);
return true; return true;
} }

View File

@ -35,4 +35,3 @@ void Loader::AddDeferredInitializer(const std::function<void()>& callback, Initi
initializers->push(DeferredInitializer(callback, priority)); initializers->push(DeferredInitializer(callback, priority));
} }

View File

@ -81,4 +81,3 @@ Object::Ptr Namespace::GetPrototype()
return prototype; return prototype;
} }

View File

@ -186,4 +186,3 @@ Namespace::Iterator icinga::end(const Namespace::Ptr& x)
{ {
return x->End(); return x->End();
} }

View File

@ -22,4 +22,3 @@ Object::Ptr Number::GetPrototype()
return prototype; return prototype;
} }

View File

@ -6,4 +6,3 @@
using namespace icinga; using namespace icinga;
REGISTER_BUILTIN_TYPE(Number, Number::GetPrototype()); REGISTER_BUILTIN_TYPE(Number, Number::GetPrototype());

View File

@ -42,4 +42,3 @@ Object::Ptr Object::GetPrototype()
return prototype; return prototype;
} }

View File

@ -54,4 +54,3 @@ ObjectFactory ObjectType::GetFactory() const
{ {
return DefaultObjectFactory<Object>; return DefaultObjectFactory<Object>;
} }

View File

@ -61,4 +61,3 @@ ObjectFactory PrimitiveType::GetFactory() const
{ {
return m_Factory; return m_Factory;
} }

View File

@ -107,4 +107,3 @@ void ScriptGlobal::WriteToFile(const String& filename)
sfp->Close(); sfp->Close();
fp.Commit(); fp.Commit();
} }

View File

@ -135,4 +135,3 @@ Object::Ptr String::GetPrototype()
return prototype; return prototype;
} }

View File

@ -214,4 +214,3 @@ ObjectFactory TypeType::GetFactory() const
{ {
return nullptr; return nullptr;
} }

View File

@ -28,4 +28,3 @@ Object::Ptr TypeType::GetPrototype()
return prototype; return prototype;
} }

View File

@ -64,4 +64,3 @@ int InternalSignalCommand::Run(const boost::program_options::variables_map& vm,
#endif /* _Win32 */ #endif /* _Win32 */
return 1; return 1;
} }

View File

@ -49,4 +49,3 @@ int VariableListCommand::Run(const boost::program_options::variables_map& vm, co
return 0; return 0;
} }

View File

@ -58,4 +58,3 @@ ActivationContext::Ptr ActivationScope::GetContext() const
{ {
return m_Context; return m_Context;
} }

View File

@ -54,4 +54,3 @@ void ConfigCompilerContext::FinishObjectsFile()
m_ObjectsFP->Commit(); m_ObjectsFP->Commit();
m_ObjectsFP.reset(nullptr); m_ObjectsFP.reset(nullptr);
} }

View File

@ -117,4 +117,3 @@ ConfigItem::Ptr ConfigItemBuilder::Compile()
return new ConfigItem(m_Type, m_Name, m_Abstract, exprl, m_Filter, return new ConfigItem(m_Type, m_Name, m_Abstract, exprl, m_Filter,
m_DefaultTmpl, m_IgnoreOnError, m_DebugInfo, m_Scope, m_Zone, m_Package); m_DefaultTmpl, m_IgnoreOnError, m_DebugInfo, m_Scope, m_Zone, m_Package);
} }

View File

@ -1065,4 +1065,3 @@ ExpressionResult TryExceptExpression::DoEvaluate(ScriptFrame& frame, DebugHint *
return Empty; return Empty;
} }

View File

@ -138,4 +138,3 @@ DbTypeRegistry *DbTypeRegistry::GetInstance()
{ {
return Singleton<DbTypeRegistry>::GetInstance(); return Singleton<DbTypeRegistry>::GetInstance();
} }

View File

@ -25,4 +25,3 @@ Object::Ptr Checkable::GetPrototype()
return prototype; return prototype;
} }

View File

@ -46,4 +46,3 @@ int icinga::FilterArrayToInt(const Array::Ptr& typeFilters, const std::map<Strin
return resultTypeFilter; return resultTypeFilter;
} }

View File

@ -2278,4 +2278,3 @@ std::map<String, ExternalCommandInfo>& ExternalCommandProcessor::GetCommands()
static std::map<String, ExternalCommandInfo> commands; static std::map<String, ExternalCommandInfo> commands;
return commands; return commands;
} }

View File

@ -125,4 +125,3 @@ bool UserGroup::ResolveGroupMembership(const User::Ptr& user, bool add, int rsta
return true; return true;
} }

View File

@ -51,4 +51,3 @@ Dictionary::Ptr IcingaDB::GetStats()
return stats; return stats;
} }

View File

@ -593,4 +593,3 @@ void InfluxdbCommonWriter::ValidateServiceTemplate(const Lazy<Dictionary::Ptr>&
} }
} }
} }

View File

@ -52,4 +52,3 @@ ApiUser::Ptr ApiUser::GetByAuthHeader(const String& auth_header)
return user; return user;
} }

View File

@ -222,4 +222,3 @@ void ConfigStagesHandler::HandleDelete(
response.result(http::status::ok); response.result(http::status::ok);
HttpUtility::SendJsonBody(response, params, result); HttpUtility::SendJsonBody(response, params, result);
} }

View File

@ -120,4 +120,3 @@ bool DeleteObjectHandler::HandleRequest(
return true; return true;
} }

View File

@ -134,4 +134,3 @@ bool EventsHandler::HandleRequest(
} }
} }
} }

View File

@ -295,4 +295,3 @@ std::vector<Value> FilterUtility::GetFilterTargets(const QueryDescription& qd, c
return result; return result;
} }

View File

@ -126,4 +126,3 @@ void HttpHandler::ProcessRequest(
return; return;
} }
} }

View File

@ -97,4 +97,3 @@ bool InfoHandler::HandleRequest(
return true; return true;
} }

View File

@ -45,4 +45,3 @@ Value JsonRpcConnection::HeartbeatAPIHandler(const MessageOrigin::Ptr& origin, c
{ {
return Empty; return Empty;
} }

View File

@ -449,4 +449,3 @@ Dictionary::Ptr PkiUtility::GetCertificateRequests(bool removed)
return requests; return requests;
} }

View File

@ -117,4 +117,3 @@ bool StatusHandler::HandleRequest(
return true; return true;
} }

View File

@ -360,4 +360,3 @@ bool Url::ValidateToken(const String& token, const String& symbols)
return true; return true;
} }

View File

@ -118,4 +118,3 @@ bool VariableQueryHandler::HandleRequest(
return true; return true;
} }