Skip to content

Commit

Permalink
Merge pull request #100 from oracle/toxophilist/sprint-9/OKIT-104
Browse files Browse the repository at this point in the history
Force Database System CPU Count to integer for test Issue: #98
  • Loading branch information
toxophilist authored Sep 10, 2020
2 parents 9a303e6 + 6311c36 commit 1c12a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visualiser/generators/okitGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def renderDatabaseSystem(self, database_system):
# ---- Node Count
self.addJinja2Variable("node_count", database_system["node_count"], standardisedName)
# ---- CPU Core Count
if database_system["cpu_core_count"] > 0:
if int(database_system["cpu_core_count"]) > 0:
self.addJinja2Variable("cpu_core_count", database_system["cpu_core_count"], standardisedName)
else:
self.removeJinja2Variable("cpu_core_count")
Expand Down

0 comments on commit 1c12a87

Please sign in to comment.