changeset 5948:4563e9899136

Housekeeper: fixed force config
author Alain Mazy <am@orthanc.team>
date Mon, 06 Jan 2025 17:07:27 +0100
parents ccf431b40a3a
children 81c78bbc9c97
files NEWS OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Mon Jan 06 15:03:37 2025 +0100
+++ b/NEWS	Mon Jan 06 17:07:27 2025 +0100
@@ -7,6 +7,7 @@
 * When the "HttpsCACertificates" configuration is empty.  Orthanc will now use the
   operating system native CA store (if any).  This is equivalent to the --ca-native
   curl option.
+* Housekeeper plugin: fixed the "Force" configuration that was ineffective.
 
 
 Version 1.12.5 (2024-12-17)
--- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp	Mon Jan 06 15:03:37 2025 +0100
+++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp	Mon Jan 06 17:07:27 2025 +0100
@@ -566,7 +566,7 @@
         {
           Json::Value result;
 
-          if (needsReconstruct || needsReingest)
+          if (needsReconstruct || needsReingest ||force_)
           {
             Json::Value request;
             if (needsReingest)