From 69472edbaed30e69dec2f636d6deb980c8992819 Mon Sep 17 00:00:00 2001 From: Eriks Sneiders Date: Mon, 28 Mar 2022 08:24:05 +0300 Subject: ...G...... [ZBXNEXT-7559] fixed smart.disk.discovery for megaraid --- src/go/plugins/smart/smartfs.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/go/plugins/smart/smartfs.go b/src/go/plugins/smart/smartfs.go index 1f194f36c43..b695e853ba4 100644 --- a/src/go/plugins/smart/smartfs.go +++ b/src/go/plugins/smart/smartfs.go @@ -609,6 +609,8 @@ func (r *runner) getMegaRaidDevices(jsonRunner bool) { } dp.Info.Name = fmt.Sprintf("%s %s", raid.name, raid.rType) + dp.Info.name = raid.name + dp.Info.raidType = raid.rType r.setRaidDevices(dp, device, raid.rType, jsonRunner) } -- cgit v1.2.3