user Platform from host info for node status OS (#19611)
This commit is contained in:
parent
566a29ee23
commit
12cf80fafd
|
@ -77,7 +77,7 @@ func (c *NodeStatusReporter) GetNodeStatus(ctx context.Context) (retStatus nodes
|
||||||
ReplicationState: replState.StateStrings(),
|
ReplicationState: replState.StateStrings(),
|
||||||
Hostname: hostInfo.Hostname,
|
Hostname: hostInfo.Hostname,
|
||||||
ListenerAddresses: listenerAddresses,
|
ListenerAddresses: listenerAddresses,
|
||||||
OperatingSystem: hostInfo.OS,
|
OperatingSystem: hostInfo.Platform,
|
||||||
OperatingSystemVersion: hostInfo.PlatformVersion,
|
OperatingSystemVersion: hostInfo.PlatformVersion,
|
||||||
LogLevel: node_status.LogLevel(logLevel),
|
LogLevel: node_status.LogLevel(logLevel),
|
||||||
ActiveTime: timestamppb.New(c.NodeStatusGetter.ActiveTime()),
|
ActiveTime: timestamppb.New(c.NodeStatusGetter.ActiveTime()),
|
||||||
|
|
Loading…
Reference in New Issue