diff --git a/data-prepper-api/src/main/java/org/opensearch/dataprepper/model/types/ByteCount.java b/data-prepper-api/src/main/java/org/opensearch/dataprepper/model/types/ByteCount.java index d68cdf1799..e3037427f5 100644 --- a/data-prepper-api/src/main/java/org/opensearch/dataprepper/model/types/ByteCount.java +++ b/data-prepper-api/src/main/java/org/opensearch/dataprepper/model/types/ByteCount.java @@ -163,6 +163,6 @@ public boolean equals(final Object otherObject) { */ @Override public String toString() { - return bytes + "b"; + return bytes + Unit.BYTE.unitString; } }