Skip to content

Commit

Permalink
Restore intellij refactor error
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <carrofin@amazon.com>
  • Loading branch information
finnegancarroll committed Aug 27, 2024
1 parent ebadf6f commit 4dc97d8
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void testEmptyType() {

public void testLayout() {
OpenSearchJsonLayout server = OpenSearchJsonLayout.newBuilder()
.setType("serde")
.setType("server")
.build();
String conversionPattern = server.getPatternLayout().getConversionPattern();

Expand All @@ -68,7 +68,7 @@ public void testLayout() {

public void testWithMaxMessageLengthLayout() {
OpenSearchJsonLayout server = OpenSearchJsonLayout.newBuilder()
.setType("serde")
.setType("server")
.setMaxMessageLength(42)
.build();
String conversionPattern = server.getPatternLayout().getConversionPattern();
Expand All @@ -88,7 +88,7 @@ public void testWithMaxMessageLengthLayout() {

public void testWithUnrestrictedMaxMessageLengthLayout() {
OpenSearchJsonLayout server = OpenSearchJsonLayout.newBuilder()
.setType("serde")
.setType("server")
.setMaxMessageLength(0)
.build();
String conversionPattern = server.getPatternLayout().getConversionPattern();
Expand All @@ -108,7 +108,7 @@ public void testWithUnrestrictedMaxMessageLengthLayout() {

public void testLayoutWithAdditionalFields() {
OpenSearchJsonLayout server = OpenSearchJsonLayout.newBuilder()
.setType("serde")
.setType("server")
.setOpenSearchMessageFields("x-opaque-id,someOtherField")
.build();
String conversionPattern = server.getPatternLayout().getConversionPattern();
Expand All @@ -130,7 +130,7 @@ public void testLayoutWithAdditionalFields() {

public void testLayoutWithAdditionalFieldOverride() {
OpenSearchJsonLayout server = OpenSearchJsonLayout.newBuilder()
.setType("serde")
.setType("server")
.setOpenSearchMessageFields("message")
.build();
String conversionPattern = server.getPatternLayout().getConversionPattern();
Expand Down

0 comments on commit 4dc97d8

Please sign in to comment.