Skip to content

Commit

Permalink
feat: address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Jan 25, 2024
1 parent a1b585c commit d82b8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/collectors/restperf/restperf.go
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ func (r *RestPerf) pollInstance(records []gjson.Result, apiD time.Duration) (map
// The API endpoint api/storage/qos/workloads lacks an is_constituent filter, unlike qos-workload-get-iter. As a result, we must perform client-side filtering.
// Although the api/private/cli/qos/workload endpoint includes this filter, it doesn't provide an option to fetch all records, both constituent and flexgroup types.
if r.perfProp.disableConstituents {
if match := constituentRegex.FindStringSubmatch(instanceData.Get("volume").String()); len(match) == 3 {
if constituentRegex.MatchString(instanceData.Get("volume").String()) {
// skip constituent
continue
}
Expand Down

0 comments on commit d82b8f9

Please sign in to comment.