From 8c7bf2c22b480099b76e6137f06388dc9af60ee8 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Fri, 21 May 2021 15:39:53 +0200 Subject: [PATCH] fixed bug on VRE users --- .../gcube/dataharvest/AccountingDashboardHarvesterPlugin.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/dataharvest/AccountingDashboardHarvesterPlugin.java b/src/main/java/org/gcube/dataharvest/AccountingDashboardHarvesterPlugin.java index 340c90c..2f1627d 100644 --- a/src/main/java/org/gcube/dataharvest/AccountingDashboardHarvesterPlugin.java +++ b/src/main/java/org/gcube/dataharvest/AccountingDashboardHarvesterPlugin.java @@ -176,7 +176,7 @@ public class AccountingDashboardHarvesterPlugin extends Plugin { boolean getVREUsers = true; if (inputs.containsKey(GET_VRE_USERS_INPUT_PARAMETER)) { try { - reRun = (boolean) inputs.get(GET_VRE_USERS_INPUT_PARAMETER); + getVREUsers = (boolean) inputs.get(GET_VRE_USERS_INPUT_PARAMETER); } catch (Exception e) { throw new IllegalArgumentException("'" + GET_VRE_USERS_INPUT_PARAMETER + "' must be a boolean"); } @@ -482,7 +482,6 @@ public class AccountingDashboardHarvesterPlugin extends Plugin { accountingRecords); if (!dryRun) { dao.insertRecords(accountingRecords.toArray(new AccountingRecord[1])); - // dbaseManager.insertMonthlyData(start, end, data, reRun); } else { logger.debug("Harvested measures are {}", accountingRecords); }