fix typo in error message, twice (#4457)
Summary: Fixes a typo in error messages returned by Iterator::GetProperty(...) Pull Request resolved: https://github.com/facebook/rocksdb/pull/4457 Differential Revision: D10281965 Pulled By: sagar0 fbshipit-source-id: 1cd3c665f467ef06cdfd9f482692e6f8568f3d22
This commit is contained in:
parent
b0026e1f5f
commit
517d3b8b77
@ -232,7 +232,7 @@ class DBIter final: public Iterator {
|
|||||||
*prop = saved_key_.GetUserKey().ToString();
|
*prop = saved_key_.GetUserKey().ToString();
|
||||||
return Status::OK();
|
return Status::OK();
|
||||||
}
|
}
|
||||||
return Status::InvalidArgument("Undentified property.");
|
return Status::InvalidArgument("Unidentified property.");
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void Next() override;
|
virtual void Next() override;
|
||||||
|
@ -103,7 +103,7 @@ Status Iterator::GetProperty(std::string prop_name, std::string* prop) {
|
|||||||
*prop = "0";
|
*prop = "0";
|
||||||
return Status::OK();
|
return Status::OK();
|
||||||
}
|
}
|
||||||
return Status::InvalidArgument("Undentified property.");
|
return Status::InvalidArgument("Unidentified property.");
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
Loading…
Reference in New Issue
Block a user