Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
narph committed Aug 11, 2021
1 parent 1b73f52 commit 97fc09d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion metricbeat/helper/windows/pdh/pdh_query_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ func (q *Query) ExpandWildCardPath(wildCardPath string) ([]string, error) {
} else {
if expdPaths, err = PdhExpandWildCardPath(utfPath); err != nil {
if err == PDH_MORE_DATA {
expdPaths, err = PdhExpandWildCardPath(utfPath)
if expdPaths, err = PdhExpandWildCardPath(utfPath); err != nil {
return nil, err
}
} else {
return nil, err
}
Expand Down

0 comments on commit 97fc09d

Please sign in to comment.