Skip to content

Commit

Permalink
fix: Fixes compression
Browse files Browse the repository at this point in the history
  • Loading branch information
salehkhazaei committed Apr 14, 2024
1 parent f1de7b7 commit aa580ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kaytu-es-sdk/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func NewClient(c ClientConfig) (Client, error) {
Addresses: c.Addresses,
Username: *c.Username,
Password: *c.Password,
CompressRequestBody: false,
CompressRequestBody: true,
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true, //nolint,gosec
Expand Down

0 comments on commit aa580ba

Please sign in to comment.