-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Replace Streamable w/ Writeable in RoleDescriptor #34544
Conversation
This commit replaces usage of Streamable with Writeable within the RoleDescriptor class (and inner classes). Relates: elastic#34389
Pinging @elastic/es-security |
this.privileges = in.readStringArray(); | ||
this.query = in.readOptionalBytesReference(); | ||
} | ||
|
||
@Override | ||
public void writeTo(StreamOutput out) throws IOException { |
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 tend to move writeTo
so it is on the same screen as the reading constructor just so it is easier to eyeball them at the same time.
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.
LGTM
This commit replaces usage of Streamable with Writeable within the RoleDescriptor class (and inner classes). Relates: #34389
This commit replaces usage of Streamable with Writeable within the RoleDescriptor class (and inner classes). Relates: #34389
This commit replaces usage of Streamable with Writeable within the
RoleDescriptor class (and inner classes).
Relates: #34389