Skip to content

Commit

Permalink
use false instead of null to determine if realm should be aggregated
Browse files Browse the repository at this point in the history
  • Loading branch information
eiffel777 committed Dec 3, 2018
1 parent 29c3801 commit e228e6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/xdmod-ingestor
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,11 @@ function main()
$logger->info('Aggregating data');
try {
//If there is no realm specified to aggregate then all realms should be aggregated
if($realmToAggregate == 'job' || $realmToAggregate === null){
if($realmToAggregate == 'job' || $realmToAggregate === false){
$dwi->aggregateAllJobs($lastModifiedStartDate);
}

if($realmToAggregate == 'cloud' || $realmToAggregate === null){
if($realmToAggregate == 'cloud' || $realmToAggregate === false){
$dwi->aggregateCloudData();
}
} catch (Exception $e) {
Expand Down

0 comments on commit e228e6d

Please sign in to comment.