Skip to content

Commit

Permalink
move tests to linux-only
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry committed Aug 16, 2021
1 parent ac06ca3 commit 2bd02ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricbeat/module/linux/memory/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func GetVMStat() (*sysinfotypes.VMStatInfo, error) {
}
vmstatHandle, ok := h.(sysinfotypes.VMStat)
if !ok {
return nil, errors.Wrap(err, "VMStat not available for platform")
return nil, errors.New("VMStat not available for platform")
}
info, err := vmstatHandle.VMStat()
if err != nil {
Expand Down

0 comments on commit 2bd02ac

Please sign in to comment.