diff options
Diffstat (limited to 'src/go/plugin/go.d/modules/smartctl/smartctl_test.go')
-rw-r--r-- | src/go/plugin/go.d/modules/smartctl/smartctl_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/go/plugin/go.d/modules/smartctl/smartctl_test.go b/src/go/plugin/go.d/modules/smartctl/smartctl_test.go index 2f8d4d66a1..f66c3739a0 100644 --- a/src/go/plugin/go.d/modules/smartctl/smartctl_test.go +++ b/src/go/plugin/go.d/modules/smartctl/smartctl_test.go @@ -477,6 +477,10 @@ func (m *mockSmartctlCliExec) scan() (*gjson.Result, error) { return &res, nil } +func (m *mockSmartctlCliExec) scanOpen() (*gjson.Result, error) { + return m.scan() +} + func (m *mockSmartctlCliExec) deviceInfo(deviceName, deviceType, powerMode string) (*gjson.Result, error) { if m.deviceDataFunc == nil { return nil, nil |