Skip to content

Commit

Permalink
Fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
eolivelli committed Nov 13, 2024
1 parent 69bd41c commit c2bd348
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void asyncClose(CloseCallback cb, Object ctx) {
metadata = LedgerMetadataBuilder.from(metadata)
.withClosedState()
.withLastEntryId(lastEntry)
.withLength(length)
.withLength(length.get())
.build();
setLedgerMetadata(getVersionedLedgerMetadata(), new Versioned<>(metadata, new LongVersion(1L)));

Expand Down

0 comments on commit c2bd348

Please sign in to comment.