Skip to content

Commit 689e77a

Browse files
committed
Include elastic-api-version header in Kibana requests
1 parent 71c7ddd commit 689e77a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/kibana/packages.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func (c *Client) InstallZipPackage(zipFile string) ([]packages.Asset, error) {
4141
return nil, err
4242
}
4343
req.Header.Set("Content-Type", "application/zip")
44+
req.Header.Add("elastic-api-version", "2023-10-31")
4445

4546
statusCode, respBody, err := c.doRequest(req)
4647
if err != nil {

0 commit comments

Comments
 (0)