Skip to content

Commit

Permalink
fix: 7mode shelf plugin fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss authored and cgrinds committed Nov 17, 2022
1 parent b666d73 commit 701f011
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/collectors/zapi/plugins/shelf/shelf.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ func (my *Shelf) Run(data *matrix.Matrix) ([]*matrix.Matrix, error) {
}

request := node.NewXMLS(my.query)
request.NewChildS("max-records", my.batchSize)
if my.client.IsClustered() {
request.NewChildS("max-records", my.batchSize)
}

result, err := my.client.InvokeZapiCall(request)
if err != nil {
Expand Down

0 comments on commit 701f011

Please sign in to comment.