From a1da2a29066a394852a99b3d3a1f4a9b9f9d8c1e Mon Sep 17 00:00:00 2001 From: Guillaume Bougard Date: Thu, 13 Feb 2025 19:23:06 +0100 Subject: [PATCH] fix: Deploy task was not run when forced via httpd interface Closes #854 --- Changes | 3 +++ lib/GLPI/Agent/Task/Deploy.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index eee9b08cd..d497e6a41 100644 --- a/Changes +++ b/Changes @@ -21,6 +21,9 @@ netdiscovery/netinventory: as wireless * Fix network ports ip support to avoid wrong allocation in rare cases, seen on a Ricoh printer +deploy: +* fix #854: Deploy task was not run when forced via httpd interface + packaging: * Update Windows packaging to use: - OpenSSL 3.4.1 diff --git a/lib/GLPI/Agent/Task/Deploy.pm b/lib/GLPI/Agent/Task/Deploy.pm index baf20ff82..dce49c2b4 100644 --- a/lib/GLPI/Agent/Task/Deploy.pm +++ b/lib/GLPI/Agent/Task/Deploy.pm @@ -436,8 +436,8 @@ sub run { $logger->debug("No need to plan another $name event for $targetid target"); } $self->resetEvent($nextEvent); + return; } - return; } $self->{client} = GLPI::Agent::HTTP::Client::Fusion->new(