Skip to content

Commit

Permalink
#170 remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed May 11, 2017
1 parent b39efd9 commit d48b02c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions thehive-backend/app/models/Migration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,7 @@ class Migration(
"status" (misp \ "eventStatus").as[JsString],
"follow" (misp \ "follow").as[JsBoolean])
},
removeEntity("audit") { o
val objectType = (o \ "objectType").asOpt[String]

val r = objectType.contains("alert")
if (r) {
println(s"remove entity $o")
}
else {
println(s"don't remove entity (objectType=$objectType)")
}
r
})
removeEntity("audit")(o (o \ "objectType").asOpt[String].contains("alert")))
}

private val requestCounter = new java.util.concurrent.atomic.AtomicInteger(0)
Expand Down

0 comments on commit d48b02c

Please sign in to comment.