-
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
Fix line length in org.elasticsearch.routing #37253
Conversation
Pinging @elastic/es-core-infra |
8dd770f
to
260cead
Compare
Remove the line length suppression for this package and fix offending lines relates: elastic#34884
260cead
to
fafc1ba
Compare
run default distro tests |
.addAliasAction(AliasActions.add().index("test").alias("alias0").routing("0")) | ||
.addAliasAction(AliasActions.add().index("test").alias("alias1").routing("1")) | ||
.addAliasAction(AliasActions.add().index("test").alias("alias01").searchRouting("0,1"))); | ||
.addAliasAction(AliasActions.add().index("test").alias("alias")) |
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.
The original indentation seems what is used throughout the rest of code. Does it make sense to use the original style vs indenting under the period of the line above?
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 would prefer to change indentation for this file with fluent builder wrapping on dots.
Some of these chains are breaking the line length limit, I have reformatted them with intellij Allign when multiline
. And then to keep this consistent across this file I formatted other fluent builders as well.
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
Remove the line length suppression for this package and fix offending lines backport elastic#37253 relates: elastic#34884
Remove the line length suppression for this package and fix offending
lines
relates: #34884