Skip to content

Type mismatch: Type of field "cluster.initial_master_nodes" in autogenerated yml config inconsistent with field in class NodeInfoSettingsCluster #242

Closed
@gyakkun

Description

@gyakkun

Java API client version

8.1.2

Java version

17.0.2

Elasticsearch Version

8.1.2

Problem description

Deployed in single localhost node. The autogenerated configuration in section "SECURITY AUTO CONFIGURATION" showed "cluster.initial_master_nodes: ["localhost"]", while in the entity class NodeInfoSettingsCluster the type of the according field is String:

https://github.com/elastic/elasticsearch-java/blob/v8.1.2/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java#L59-L60=

https://github.com/elastic/elasticsearch-specification/blob/8.1/specification/nodes/info/types.ts#L134=

Reproduce:

elasticsearchClient.nodes().info()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions