Skip to content

Commit

Permalink
fix(gorgone/mbi): rebuilding centiles truncates mod_bi_metrichourlyvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
cgagnaire authored and Evan-Adam committed Jul 9, 2024
1 parent 65eee4b commit 8671d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gorgone/gorgone/modules/centreon/mbi/etl/perfdata/main.pm
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ sub purgeTables {

if ($etl->{run}->{etlProperties}->{'perfdata.granularity'} ne "day" &&
(!defined($etl->{run}->{options}->{month_only}) || $etl->{run}->{options}->{month_only} == 0) &&
(!defined($etl->{run}->{options}->{no_centile}) || $etl->{run}->{options}->{no_centile} == 0)) {
(!defined($etl->{run}->{options}->{centile_only}) || $etl->{run}->{options}->{centile_only} == 0)) {
emptyTableForRebuild($etl, name => 'mod_bi_metrichourlyvalue', column => 'time_id', start => $hourly_start, end => $hourly_end);
}
}
Expand Down

0 comments on commit 8671d3f

Please sign in to comment.