use '_' instead of ':' in support bundle name format (#284)

This commit is contained in:
Salah Aldeen Al Saleh
2020-10-14 15:57:26 -07:00
committed by GitHub
parent 0554c2ac0f
commit d94954e6dd
2 changed files with 1 additions and 1 deletions

View File

@@ -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")
}

Binary file not shown.