added two fields to API, but without query (const values)
@@ -15,6 +15,8 @@ struct TGetBundleConfigOptions
struct TBundleConfigDescriptor
{
TString BundleName;
+ int RpcProxyCount;
+ int TabletNodeCount;
};
////////////////////////////////////////////////////////////////////////////////
@@ -25,6 +25,8 @@ void TGetBundleConfigCommand::DoExecute(ICommandContextPtr context)
context->ProduceOutputValue(BuildYsonStringFluently()
.BeginMap()
.Item("bundle_name").Value(result.BundleName)
+ .Item("rpc_proxy_count").Value(result.RpcProxyCount)
+ .Item("tablet_node_count").Value(result.TabletNodeCount)
.EndMap());
}