Skip to content

Commit e3f9cf1

Browse files
UgnineSirdisGazizonoki
authored andcommitted
Moved commit "Fix TNodeRegistrationResult" from ydb repo
1 parent 421e268 commit e3f9cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/discovery/discovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ uint64_t 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)