bumped padding of bundles to 6 digits
This commit is contained in:
parent
59d4d2c9e0
commit
53205ab661
4 changed files with 5 additions and 5 deletions
|
|
@ -74,11 +74,11 @@ func serializeBundle(entries []BundleEntry) ([]byte, error) {
|
|||
}
|
||||
|
||||
func writeBundleLocal(outputDir string, index int, data []byte) error {
|
||||
path := filepath.Join(outputDir, fmt.Sprintf("%04d.json", index))
|
||||
path := filepath.Join(outputDir, fmt.Sprintf("%06d.json", index))
|
||||
return os.WriteFile(path, data, 0644)
|
||||
}
|
||||
|
||||
func writeBundleS3(bucket string, index int, data []byte) error {
|
||||
key := fmt.Sprintf("tabs/%04d.json", index)
|
||||
key := fmt.Sprintf("tabs/%06d.json", index)
|
||||
return s3UploadBundle(bucket, key, data)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue