Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Nov 14, 2023
1 parent 81899b3 commit 14f9507
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/pkg/api/handleAck.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,10 @@ func (ack *AckT) invalidateAPIKeys(ctx context.Context, zlog zerolog.Logger, toR
// using remote es bulker to invalidate api key - supposing all retire api key ids belong to the same remote es
bulk := ack.bulk
if output != "" {
bulk = ack.bulk.GetBulker(output)
outputBulk := ack.bulk.GetBulker(output)
if outputBulk != nil {
bulk = outputBulk
}
}

if len(ids) > 0 {
Expand Down

0 comments on commit 14f9507

Please sign in to comment.