Skip to content

Commit

Permalink
Fixed empty error from CMS create tenant request (#12977)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA authored Dec 25, 2024
1 parent 27d8720 commit 4472125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/base/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ TString::const_iterator PathPartBrokenAt(const TString &part, const TStringBuf e
bool CheckDbPath(const TString &path, const TString &domain, TString &error) {
auto parts = SplitPath(path);

if (parts.empty()) {
if (parts.size() < 2) {
error = "Database path cannot be empty or root";
return false;
}
Expand Down

0 comments on commit 4472125

Please sign in to comment.