mirror of
https://github.com/minio/minio.git
synced 2025-05-21 09:33:50 -04:00
Added query parameter src
to diag upload if callhome enabled (#16837)
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
This commit is contained in:
parent
46f9049fb4
commit
850a945a18
@ -168,7 +168,7 @@ func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405"))
|
filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405"))
|
||||||
url += "?filename=" + filename
|
url += "?filename=" + filename + "&src=callhome"
|
||||||
|
|
||||||
_, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo))
|
_, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo))
|
||||||
return err
|
return err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user