fixed bug on VRE users

This commit is contained in:
Luca Frosini 2021-05-21 15:39:53 +02:00
parent 695bf798f9
commit 8c7bf2c22b
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}