Skip to content

Commit 474ac3f

Browse files
JoshMockgithub-actions[bot]
authored andcommitted
Update user agent format (#1954)
(cherry picked from commit 1049a0f)
1 parent e88999f commit 474ac3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default class Client extends API {
175175
caFingerprint: null,
176176
agent: null,
177177
headers: {
178-
'user-agent': `elasticsearch-js/${clientVersion} Node.js ${nodeVersion}; Transport ${transportVersion}; (${os.platform()} ${os.release()} ${os.arch()})`
178+
'user-agent': `elasticsearch-js/${clientVersion} (${os.platform()} ${os.release()}-${os.arch()}; Node.js ${nodeVersion}; Transport ${transportVersion})`
179179
},
180180
nodeFilter: null,
181181
generateRequestId: null,

0 commit comments

Comments
 (0)