Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build_flavor back to info api rest response #88336

Merged
merged 10 commits into from
Jul 8, 2022
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/changelog/88336.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 88336
summary: Add `build_flavor` back to info api rest response
area: Infra/Core
type: bug
issues:
- 88318
1 change: 1 addition & 0 deletions docs/plugins/discovery-azure-classic.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ This command should give you a JSON result:
"number" : "{version_qualified}",
"build_type" : "{build_type}",
"build_hash" : "f27399d",
"build_flavor": "default",
"build_date" : "2016-03-30T09:51:41.449Z",
"build_snapshot" : false,
"lucene_version" : "{lucene_version}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@
- is_true: tagline
- is_true: version
- is_true: version.number

---
"Info build flavor":
- skip:
version: "8.3.0 - 8.3.2"
reason: "build flavor in info was missing in 8.3.0 to 8.3.2"
- do: {info: {}}
- match: { version.build_flavor: default }
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
builder.field("cluster_uuid", clusterUuid);
builder.startObject("version")
.field("number", build.qualifiedVersion())
.field("build_flavor", "default")
.field("build_type", build.type().displayName())
.field("build_hash", build.hash())
.field("build_date", build.date())
Expand Down