Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Remove unused variable from Alert.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaswin-amzn committed May 14, 2019
1 parent 3bfad7a commit af41a34
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,6 @@ data class Alert(
const val NO_ID = ""
const val NO_VERSION = Versions.NOT_FOUND

/**
* The mapping type of [Alert]s in the ES index.
*
* This should go away starting ES 7. We use "_doc" for future compatibility as described here:
* https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html#_schedule_for_removal_of_mapping_types
*/
const val ALERT_TYPE = "_doc"

@JvmStatic @JvmOverloads
@Throws(IOException::class)
fun parse(xcp: XContentParser, id: String = NO_ID, version: Long = NO_VERSION): Alert {
Expand Down

0 comments on commit af41a34

Please sign in to comment.