File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -534,6 +534,16 @@ void TConfigsDispatcher::Handle(TEvInterconnect::TEvNodesInfo::TPtr &ev)
534
534
}
535
535
}
536
536
}
537
+
538
+ DIV_CLASS (" alert alert-info" ) {
539
+ str << " <strong>Configuration version: </strong>" ;
540
+ if (Labels.contains (" config_version" )) {
541
+ str << Labels.at (" config_version" );
542
+ } else {
543
+ str << " unknown" ;
544
+ }
545
+ }
546
+
537
547
DIV_CLASS (" tab-left" ) {
538
548
COLLAPSED_REF_CONTENT (" node-labels" , " Node labels" ) {
539
549
PRE () {
Original file line number Diff line number Diff line change @@ -1402,6 +1402,7 @@ class TInitialConfiguratorImpl
1402
1402
configsDispatcherInitInfo.StartupConfigYaml = appConfig.GetStartupConfigYaml ();
1403
1403
configsDispatcherInitInfo.ItemsServeRules = std::monostate{},
1404
1404
configsDispatcherInitInfo.Labels = Labels;
1405
+ configsDispatcherInitInfo.Labels [" config_version" ] = appConfig.GetConfigDirPath () ? " v2" : " v1" ;
1405
1406
configsDispatcherInitInfo.DebugInfo = TDebugInfo {
1406
1407
.InitInfo = InitDebug.ConfigTransformInfo ,
1407
1408
};
You can’t perform that action at this time.
0 commit comments