Commit 6f0673055806df6ed19cfd469aebb2c64694ff9a

Authored by Rafael Manzo
1 parent 92d97870

Fixed bug on processings_helper

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/processings_helper.rb
... ... @@ -11,7 +11,7 @@ module ProcessingsHelper
11 11 range_snapshots = metric_result.metric_configuration_snapshot.range_snapshot
12 12  
13 13 range_snapshots.each do |range_snapshot|
14   - return range_snapshot if ((range_snapshot.beginning <= metric_result.value || range_snapshot.beginning = '-INF') && (range_snapshot.end >= metric_result.value || range_snapshot.beginning = '+INF'))
  14 + return range_snapshot if ((range_snapshot.beginning <= metric_result.value || range_snapshot.beginning == '-INF') && (range_snapshot.end >= metric_result.value || range_snapshot.beginning == '+INF'))
15 15 end
16 16  
17 17 return nil
... ...