Closed yujunz closed 5 years ago
When try to sync ALL objects from one bucket to another.
$ juicesync s3://*:*@bucket.s3-us-west-1.amazonaws.com/ s3://*:*@bucket.s3.cn-north-1.amazonaws.com.cn/ panic: runtime error: slice bounds out of range goroutine 1 [running]: github.com/juicedata/juicesync/object.newS3(0xc00016a550, 0x4f, 0x7ffda78e852b, 0x14, 0x7ffda78e8540, 0x28, 0xc00027fdc8, 0x448247) /home/admin/go/src/github.com/juicedata/juicesync/object/s3.go:211 +0x49f github.com/juicedata/juicesync/object.CreateStorage(0x7ffda78e8526, 0x2, 0xc00016a550, 0x4f, 0x7ffda78e852b, 0x14, 0x7ffda78e8540, 0x28, 0xe645a0, 0xc0001e97c0) /home/admin/go/src/github.com/juicedata/juicesync/object/object_storage.go:101 +0xbb main.createStorage(0x7ffda78e8526, 0x8b, 0xe645a0, 0xc0001e97c0) /home/admin/go/src/github.com/juicedata/juicesync/main.go:71 +0x197 main.main() /home/admin/go/src/github.com/juicedata/juicesync/main.go:98 +0x13f
When try to sync ALL objects from one bucket to another.