Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 7, 2020
1 parent 6020a6c commit c1a2ff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions thehive-backend/app/controllers/StatusCtrl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class StatusCtrl @Inject()(
private def updateStatus(): Unit = {
clusterStatusName = Try(dbIndex.clusterStatusName).getOrElse("ERROR")
system.scheduler.scheduleOnce(checkStatusInterval)(updateStatus())
()
}
updateStatus()

Expand Down
2 changes: 1 addition & 1 deletion thehive-backend/app/models/AttributeFormat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ object SeverityAttributeFormat extends NumberAttributeFormat {
name,
attribute.description,
Seq(JsNumber(1), JsNumber(2), JsNumber(3), JsNumber(4)),
Seq("low", "medium", "high", "critical")))
Seq("low", "medium", "high", "critical")
)
)

Expand Down

0 comments on commit c1a2ff2

Please sign in to comment.