From 5678fe750cd171520b7a87d6682adb7d3907dd24 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 8 May 2014 13:15:08 +0200 Subject: [PATCH] Fix incorrect function name. Refs #6107 --- lib/icinga/apievents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/apievents.cpp b/lib/icinga/apievents.cpp index 22d0ec331..1c25a37d6 100644 --- a/lib/icinga/apievents.cpp +++ b/lib/icinga/apievents.cpp @@ -969,7 +969,7 @@ Value ApiEvents::UpdateRepositoryAPIHandler(const MessageOrigin& origin, const D String ApiEvents::GetVirtualHostName(const Host::Ptr& host) { - String host_name = GetVirtualHostName(host); + String host_name = host->GetName(); if (host_name == "localhost") host_name = Endpoint::GetLocalEndpoint()->GetName(); return host_name; -- 2.40.0