Skip to content

Commit

Permalink
Fixed node lock release error: request should use value of "_id" inst…
Browse files Browse the repository at this point in the history
…ead of "job_id"

Signed-off-by: Angie Zhang <[email protected]>
  • Loading branch information
Angie Zhang committed Mar 24, 2023
1 parent 237612f commit 0e7f320
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class ShrinkAction(
const val TARGET_INDEX_TEMPLATE_FIELD = "target_index_name_template"
const val ALIASES_FIELD = "aliases"
const val FORCE_UNSAFE_FIELD = "force_unsafe"
const val LOCK_RESOURCE_TYPE = "shrink"
const val LOCK_RESOURCE_TYPE = ".opendistro-ism-config-shrink"
const val LOCK_RESOURCE_NAME = "node_name"
fun getSecurityFailureMessage(failure: String) = "Shrink action failed because of missing permissions: $failure"
}
Expand Down

0 comments on commit 0e7f320

Please sign in to comment.