Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-1041: Trending dashboard
[csit.git]
/
resources
/
tools
/
presentation
/
generator_tables.py
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
65bf6d5
..
814fbe4
100644
(file)
--- a/
resources/tools/presentation/generator_tables.py
+++ b/
resources/tools/presentation/generator_tables.py
@@
-595,7
+595,7
@@
def table_performance_trending_dashboard(table, input_data):
else:
anomaly = "normal"
else:
anomaly = "normal"
- if not isnan(last) and not isnan(trend):
+ if not isnan(last) and not isnan(trend)
and trend != 0
:
# Change:
change = round(float(last - trend) / 1000000, 2)
# Relative change:
# Change:
change = round(float(last - trend) / 1000000, 2)
# Relative change: