aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/init.h
diff options
context:
space:
mode:
authorermolovd <ermolovd@yandex-team.com>2024-11-08 10:09:59 +0300
committerermolovd <ermolovd@yandex-team.com>2024-11-08 10:19:56 +0300
commit726d467e9898a4afca4523f30dd420cd2a85b43c (patch)
treec8566ca77ff317dba58313934adfbbfb0306578e /yt/cpp/mapreduce/client/init.h
parenta784a2f943d6e15caa6241e2e96d80aac6dbf375 (diff)
downloadydb-726d467e9898a4afca4523f30dd420cd2a85b43c.tar.gz
YT-23262: initialize client with JoblessInitialize if user didn't
commit_hash:439622e771e7b7010609aa9974e9b82dcb0163ca
Diffstat (limited to 'yt/cpp/mapreduce/client/init.h')
-rw-r--r--yt/cpp/mapreduce/client/init.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt/cpp/mapreduce/client/init.h b/yt/cpp/mapreduce/client/init.h
index af2fc80e55..ee879d1a99 100644
--- a/yt/cpp/mapreduce/client/init.h
+++ b/yt/cpp/mapreduce/client/init.h
@@ -2,8 +2,7 @@
#include <yt/cpp/mapreduce/interface/init.h>
-namespace NYT {
-namespace NDetail {
+namespace NYT::NDetail {
////////////////////////////////////////////////////////////////////////////////
@@ -16,7 +15,8 @@ enum class EInitStatus : int
EInitStatus& GetInitStatus();
+void EnsureInitialized();
+
////////////////////////////////////////////////////////////////////////////////
-} // namespace NDetail
-} // namespace NYT
+} // namespace NYT::NDetail