From 42128196affee2e1dbff04e7fbd4011a89174e9e Mon Sep 17 00:00:00 2001 From: michel-laterman Date: Tue, 7 Sep 2021 09:46:34 -0700 Subject: [PATCH] Fix typo --- libbeat/esleg/eslegclient/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/esleg/eslegclient/connection.go b/libbeat/esleg/eslegclient/connection.go index 57a4534c87a..8db37a9b0ef 100644 --- a/libbeat/esleg/eslegclient/connection.go +++ b/libbeat/esleg/eslegclient/connection.go @@ -113,7 +113,7 @@ func NewConnection(s ConnectionSettings) (*Connection, error) { } if s.Beatname == "" { - s.Beatname == "Libbeat" + s.Beatname = "Libbeat" } userAgent := useragent.UserAgent(s.Beatname)