mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
pass the necessary query params for remote NSSCanner (#14719)
fixes a regression from #14464
This commit is contained in:
parent
f630d7c3fa
commit
601a744159
@ -216,7 +216,7 @@ func (client *storageRESTClient) NSScanner(ctx context.Context, cache dataUsageC
|
||||
}()
|
||||
vals := make(url.Values)
|
||||
vals.Set(storageRESTScanMode, strconv.Itoa(int(scanMode)))
|
||||
respBody, err := client.call(ctx, storageRESTMethodNSScanner, url.Values{}, pr, -1)
|
||||
respBody, err := client.call(ctx, storageRESTMethodNSScanner, vals, pr, -1)
|
||||
defer xhttp.DrainBody(respBody)
|
||||
pr.CloseWithError(err)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user