Skip to content

Commit

Permalink
Revert query parameter src from diag upload if callhome enabled (mi…
Browse files Browse the repository at this point in the history
  • Loading branch information
shtripat committed Mar 23, 2023
1 parent ac7d9c4 commit b1b0aad
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 + "&src=callhome"
url += "?filename=" + filename

_, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo))
return err
Expand Down

0 comments on commit b1b0aad

Please sign in to comment.