Skip to content

Commit

Permalink
[cms] add version to Node in Maintenance API (ydb-platform#2788)
Browse files Browse the repository at this point in the history
  • Loading branch information
shmel1k committed Mar 15, 2024
1 parent c1ad21b commit a7e8ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ydb/core/cms/api_adapters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class TListClusterNodes: public TAdapterActor<
out.set_host(in.Host);
out.set_port(in.IcPort);
out.set_state(ConvertNodeState(in.State));
out.set_version(in.Version);
*out.mutable_start_time() = TimeUtil::MicrosecondsToTimestamp(in.StartTime.GetValue());

auto& location = *out.mutable_location();
Expand Down
1 change: 1 addition & 0 deletions ydb/public/api/protos/draft/ydb_maintenance.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ message Node {
}
// start_time defines time when node was registered in cms.
google.protobuf.Timestamp start_time = 8;
string version = 9;
}

message ListClusterNodesRequest {
Expand Down

0 comments on commit a7e8ac9

Please sign in to comment.