Skip to content

Commit a1f9660

Browse files
authored
Update get-license default for ?local (#5275)
* Update get-license default for ?local The default for the `?local` parameter to the `GET _license` API changed from `false` to `true` in elastic/elasticsearch#134457. This commit adjusts the documentation to match. * Explain false
1 parent e024966 commit a1f9660

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

specification/license/get/GetLicenseRequest.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ export interface Request extends RequestBase {
4848
*/
4949
accept_enterprise?: boolean
5050
/**
51-
* Specifies whether to retrieve local information. The default value is `false`, which means the information is retrieved from the master node.
52-
* @server_default false
51+
* Specifies whether to retrieve local information.
52+
* From 9.2 onwards the default value is `true`, which means the information is retrieved from the responding node.
53+
* In earlier versions the default is `false`, which means the information is retrieved from the elected master node.
54+
* @server_default true
5355
*/
5456
local?: boolean
5557
}

0 commit comments

Comments
 (0)