mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05: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"))
|
||||
url += "?filename=" + filename
|
||||
url += "?filename=" + filename + "&src=callhome"
|
||||
|
||||
_, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo))
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user