mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
ceph-objectstore-tool: Eliminate obscure "Invalid params" error
Will fail later with "No such file or directory" for an empty data-path because we've already checked for vm.count("data-path") Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
parent
565b413df9
commit
cfca6835bd
@ -2460,11 +2460,6 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (dpath.length() == 0) {
|
||||
cerr << "Invalid params" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
osflagbits_t flags = 0;
|
||||
if (vm.count("skip-journal-replay"))
|
||||
flags |= SKIP_JOURNAL_REPLAY;
|
||||
|
Loading…
Reference in New Issue
Block a user