mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
use '_' instead of ':' in support bundle name format (#284)
This commit is contained in:
committed by
GitHub
parent
0554c2ac0f
commit
d94954e6dd
@@ -455,7 +455,7 @@ func runCollectors(v *viper.Viper, collectors []*troubleshootv1beta2.Collect, ad
|
||||
}
|
||||
}
|
||||
|
||||
filename, err := findFileName("support-bundle-"+time.Now().Format("2006-01-02T15:04:05"), "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")
|
||||
}
|
||||
|
||||
BIN
support-bundle-2020-09-25T15:15:16.tar.gz
Normal file
BIN
support-bundle-2020-09-25T15:15:16.tar.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user