Skip to content

Commit

Permalink
send collectedAt timestamp with support bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
divolgin committed Oct 20, 2021
1 parent 305de18 commit cd54dbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/handlers/troubleshoot.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ func (h *Handler) ShareSupportBundle(w http.ResponseWriter, r *http.Request) {
reporting.InjectReportingInfoHeaders(req, reportingInfo)

req.Header.Set("Content-Type", "application/tar+gzip")
req.Header.Set("X-Replicated-SupportBundle-CollectedAt", bundle.CreatedAt.Format(time.RFC3339))

req.ContentLength = fileStat.Size()

Expand Down

0 comments on commit cd54dbc

Please sign in to comment.