Skip to content

Commit a686e47

Browse files
Issue#228 (#230)
* Added timestamp to support-bundle file * Added timestamp to support-bundle file * Added timestamp to support-bundle file * Added timestamp with second-level precision
1 parent 3b8e53b commit a686e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/troubleshoot/cli/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ func runCollectors(v *viper.Viper, collectors []*troubleshootv1beta1.Collect, ad
403403
}
404404
}
405405

406-
filename, err := findFileName("support-bundle", "tar.gz")
406+
filename, err := findFileName("support-bundle-"+time.Now().Format("2006-01-02T15:04:05"), "tar.gz")
407407
if err != nil {
408408
return "", errors.Wrap(err, "find file name")
409409
}

0 commit comments

Comments
 (0)