Skip to content

Commit

Permalink
failed to read api key roles warn log
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Jan 8, 2024
1 parent 339e0dc commit c606c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/api/handleAck.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func (ack *AckT) updateAPIKey(ctx context.Context,
res, err := bulk.APIKeyRead(ctx, apiKeyID, true)
if err != nil {
if isAgentActive(ctx, zlog, ack.bulk, agentID) {
zlog.Error().
zlog.Warn().
Err(err).
Str(LogAPIKeyID, apiKeyID).
Str("outputName", outputName).
Expand Down

0 comments on commit c606c7e

Please sign in to comment.