File tree 2 files changed +10
-1
lines changed 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -776,6 +776,15 @@ class TConfigurationResult
776
776
777
777
void TConfigsDispatcher::UpdateCandidateStartupConfig (TEvConsole::TEvConfigSubscriptionNotification::TPtr &ev)
778
778
try {
779
+ if (!RecordedInitialConfiguratorDeps) {
780
+ CandidateStartupConfig = {};
781
+ StartupConfigProcessError = true ;
782
+ StartupConfigProcessDiff = false ;
783
+ StartupConfigInfo = " Startup params not recorded. Corresponding functionality won't work." ;
784
+ *StartupConfigChanged = 0 ;
785
+ return ;
786
+ }
787
+
779
788
auto &rec = ev->Get ()->Record ;
780
789
781
790
auto dcClient = std::make_unique<TDynConfigClientMock>();
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ struct TConfigsDispatcherInitInfo {
225
225
TMap<TString, TString> Labels;
226
226
std::variant<std::monostate, TDenyList, TAllowList> ItemsServeRules;
227
227
std::optional<TDebugInfo> DebugInfo;
228
- std::shared_ptr<NConfig::TRecordedInitialConfiguratorDeps> RecordedInitialConfiguratorDeps;
228
+ std::shared_ptr<NConfig::TRecordedInitialConfiguratorDeps> RecordedInitialConfiguratorDeps = nullptr ;
229
229
std::vector<TString> Args;
230
230
};
231
231
You can’t perform that action at this time.
0 commit comments