Skip to content

Commit

Permalink
Update user agent format (#1954)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1049a0f)
  • Loading branch information
JoshMock authored and github-actions[bot] committed Jul 25, 2023
1 parent 3c5e2a2 commit 159b9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default class Client extends API {
caFingerprint: null,
agent: null,
headers: {
'user-agent': `elasticsearch-js/${clientVersion} Node.js ${nodeVersion}; Transport ${transportVersion}; (${os.platform()} ${os.release()} ${os.arch()})`
'user-agent': `elasticsearch-js/${clientVersion} (${os.platform()} ${os.release()}-${os.arch()}; Node.js ${nodeVersion}; Transport ${transportVersion})`
},
nodeFilter: null,
generateRequestId: null,
Expand Down

0 comments on commit 159b9a2

Please sign in to comment.