From 3f5cb3c5ed44e4260ee803463748708b46a40d74 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Thu, 23 May 2024 17:58:56 +0200
Subject: [PATCH] fix function call

---
 lib/AccessCheck/App/Controller.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/AccessCheck/App/Controller.pm b/lib/AccessCheck/App/Controller.pm
index a8c5592..2973437 100644
--- a/lib/AccessCheck/App/Controller.pm
+++ b/lib/AccessCheck/App/Controller.pm
@@ -278,7 +278,7 @@ sub status {
     
     my $health = {
         status => $status,
-        host   => hostname(),
+        host   => Sys::Hostname::hostname(),
     };
 
     $self->render(status => 200, json => $health);
-- 
GitLab