Skip to content

Commit 5f93160

Browse files
committed
Fix TNodeRegistrationResult (ydb-platform#7815)
(cherry picked from commit 5851c81)
1 parent baa2b81 commit 5f93160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/public/sdk/cpp/client/ydb_discovery/discovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const ui64& TNodeRegistrationResult::GetScopePathId() const {
120120
}
121121

122122
bool TNodeRegistrationResult::HasScopePathId() const {
123-
return ScopePathId_.value();
123+
return ScopePathId_.has_value();
124124
}
125125

126126
bool TNodeRegistrationResult::HasNodeName() const {

0 commit comments

Comments
 (0)