mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-28 20:09:14 +08:00
Fix incorrect path for exportMetadataInRocksDBCommand (#8941)
This commit is contained in:
+5
-2
@@ -77,8 +77,11 @@ public class ExportMetadataInRocksDBCommand implements SubCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
String configType = commandLine.getOptionValue("configType").trim().toLowerCase();
|
||||
path += "/" + configType;
|
||||
String configType = commandLine.getOptionValue("configType").trim();
|
||||
if (!path.endsWith("/")) {
|
||||
path += "/";
|
||||
}
|
||||
path += configType;
|
||||
|
||||
boolean jsonEnable = false;
|
||||
if (commandLine.hasOption("jsonEnable")) {
|
||||
|
||||
Reference in New Issue
Block a user