Skip to content

Commit

Permalink
Added query parameter src to diag upload if callhome enabled (minio…
Browse files Browse the repository at this point in the history
…#16837)

Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
  • Loading branch information
shtripat committed Mar 17, 2023
1 parent 46f9049 commit 850a945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/callhome.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 850a945

Please sign in to comment.