ISSUE #2075: Bookieshell lastmark command isn't functional, always returning 0-0

Descriptions of the changes in this PR:



### Motivation

`lastmark` shell command is to be used while debugging however currently it cannot be used since it returns incorrect value.

### Changes

Updated `LedgerDirsManager` object initialization to use correct `ledgerDirs`.
Master Issue: #2075




Reviewers: Charan Reddy Guttapalem <reddycharan18@gmail.com>, Sijie Guo <sijie@apache.org>

This closes #2076 from karanmehta93/ISSUE-2075, closes #2075
diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/tools/cli/commands/bookie/LastMarkCommand.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/tools/cli/commands/bookie/LastMarkCommand.java
index 61c1f92..f925e13 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/tools/cli/commands/bookie/LastMarkCommand.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/tools/cli/commands/bookie/LastMarkCommand.java
@@ -48,7 +48,7 @@
     @Override
     public boolean apply(ServerConfiguration conf, CliFlags flags) {
         LedgerDirsManager dirsManager = new LedgerDirsManager(
-            conf, conf.getJournalDirs(),
+            conf, conf.getLedgerDirs(),
             new DiskChecker(conf.getDiskUsageThreshold(), conf.getDiskUsageWarnThreshold()));
         File[] journalDirs = conf.getJournalDirs();