-
Notifications
You must be signed in to change notification settings - Fork 191
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
Deprecating master terminology to support inclusive naming #167
Deprecating master terminology to support inclusive naming #167
Conversation
Signed-off-by: Vacha Shah <[email protected]>
@@ -140,9 +140,13 @@ public class NodesRecord implements JsonpSerializable { | |||
@Nullable | |||
private final String nodeRole; | |||
|
|||
@Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think technically private
variable or method can be renamed freely without deprecating. 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed this, I will update it 🤦🏼♀️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is fine if not changed, while reducing the code change maybe better. 😄
*/ | ||
public static final MasterRequest _INSTANCE = new MasterRequest(); | ||
public static final ClusterManagerRequest _INSTANCE = new ClusterManagerRequest(); | ||
|
||
// --------------------------------------------------------------------------------------------- | ||
|
||
/** | ||
* Endpoint "{@code cat.master}". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we have changed the API request in this PR
master
-> cluster_manager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean for the comment cat.master
? cat.master
is for the deprecated endpoint, cat.cluster_manager
is for the endpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see we are supporting the deprecated and the new endpoint to not break things out there. Makes sense. You can ignore my comment.
Signed-off-by: Vacha Shah <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's really impressive to make those changes to support inclusive language. 👍 👍
…h-project#167) * Deprecating master terminology to support inclusive naming Signed-off-by: Vacha Shah <[email protected]> * Fixing tests against unreleased OpenSearch Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: Matt Timmermans <[email protected]>
* Sort field in Hit deserializer should handle null events (#169) Signed-off-by: Rene Cordier <[email protected]> Signed-off-by: Matt Timmermans <[email protected]> * Deprecating master terminology to support inclusive naming (#167) * Deprecating master terminology to support inclusive naming Signed-off-by: Vacha Shah <[email protected]> * Fixing tests against unreleased OpenSearch Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: Matt Timmermans <[email protected]> * Fix issue 172 Signed-off-by: Matt Timmermans <[email protected]> * Add test for issue 172 Signed-off-by: Matt Timmermans <[email protected]> Co-authored-by: Rene Cordier <[email protected]> Co-authored-by: Vacha Shah <[email protected]> Co-authored-by: Matt Timmermans <[email protected]>
Signed-off-by: Vacha Shah [email protected]
Description
Deprecating master nomenclature for inclusive naming which includes the following changes:
master
->cluster-manager
in commentsmaster
->clusterManager
in methods and variablesmaster
->cluster_manager
in API parametersIssues Resolved
#166
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.