Skip to content

Commit

Permalink
Revert changes to NamedRoute
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Feb 13, 2024
1 parent e58acdb commit 6e9dffb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/src/main/java/org/opensearch/rest/NamedRoute.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ private NamedRoute(Builder builder) {
"Invalid route name specified. The route name may include the following characters"
+ " 'a-z', 'A-Z', '0-9', ':', '/', '*', '_' and be less than "
+ MAX_LENGTH_OF_ACTION_NAME
+ " characters, "
+ builder.uniqueName
+ " characters"
);
}
this.uniqueName = builder.uniqueName;
Expand Down

0 comments on commit 6e9dffb

Please sign in to comment.