Skip to content

Commit

Permalink
In explain API not showing the total count to all users (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
thalurur authored Nov 5, 2021
1 parent ff055dc commit 7e5e92e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ class TransportExplainAction @Inject constructor(
override fun onFailure(e: Exception) {
when (e is OpenSearchSecurityException) {
true -> {
totalManagedIndices -= 1
if (current < indexNames.count() - 1) {
// do nothing - skip the index and go to next one
filter(current + 1, filteredIndices, filteredMetadata, filteredPolicies, enabledStatus)
Expand Down

0 comments on commit 7e5e92e

Please sign in to comment.