Skip to content

Commit

Permalink
Issue#228 (#230)
Browse files Browse the repository at this point in the history
* Added timestamp to support-bundle file

* Added timestamp to support-bundle file

* Added timestamp to support-bundle file

* Added timestamp with second-level precision
  • Loading branch information
manavellamnimble committed Aug 3, 2020
1 parent 3b8e53b commit a686e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/troubleshoot/cli/run.go
Expand Up @@ -403,7 +403,7 @@ func runCollectors(v *viper.Viper, collectors []*troubleshootv1beta1.Collect, ad
}
}

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

0 comments on commit a686e47

Please sign in to comment.