Skip to content

Commit e4f36c7

Browse files
authored
revert to use operatingSystem from osImage for node os telemety (#498)
1 parent 13521c5 commit e4f36c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/plugins/ruby/in_kube_nodes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def getNodeTelemetryProps(item)
447447
properties["Computer"] = item["metadata"]["name"]
448448
nodeInfo = item["status"]["nodeInfo"]
449449
properties["KubeletVersion"] = nodeInfo["kubeletVersion"]
450-
properties["OperatingSystem"] = nodeInfo["osImage"]
450+
properties["OperatingSystem"] = nodeInfo["operatingSystem"]
451451
properties["KernelVersion"] = nodeInfo["kernelVersion"]
452452
properties["OSImage"] = nodeInfo["osImage"]
453453
containerRuntimeVersion = nodeInfo["containerRuntimeVersion"]

0 commit comments

Comments
 (0)