user Platform from host info for node status OS (#19611)

This commit is contained in:
Chris Capurso 2023-03-21 09:53:31 -04:00 committed by GitHub
parent 566a29ee23
commit 12cf80fafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()),