Skip to content

Commit

Permalink
Correctly parse Redis role values in connection receive
Browse files Browse the repository at this point in the history
  • Loading branch information
jdheyburn committed Jan 6, 2025
1 parent 312cb57 commit 36c54f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebeat/input/redis/harvester.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (h *Harvester) Run() error {
}

// Read reply from ROLE
role, err := h.conn.Receive()
role, err := rd.Values(h.conn.Receive())
if err != nil {
return fmt.Errorf("error receiving replication role: %w", err)
}
Expand Down

0 comments on commit 36c54f2

Please sign in to comment.