remove unused code and fix todo format
Signed-off-by: tgic <farmer1992@gmail.com>
This commit is contained in:
parent
90595c7ed9
commit
f01a0694c1
1 changed files with 1 additions and 13 deletions
|
@ -209,20 +209,8 @@ func New(params DriverParameters) (*Driver, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Currently multipart uploads have no timestamps, so this would be unwise
|
// TODO(tg123): Currently multipart uploads have no timestamps, so this would be unwise
|
||||||
// if you initiated a new OSS client while another one is running on the same bucket.
|
// if you initiated a new OSS client while another one is running on the same bucket.
|
||||||
// multis, _, err := bucket.ListMulti("", "")
|
|
||||||
// if err != nil {
|
|
||||||
// return nil, err
|
|
||||||
// }
|
|
||||||
|
|
||||||
// for _, multi := range multis {
|
|
||||||
// err := multi.Abort()
|
|
||||||
// //TODO appropriate to do this error checking?
|
|
||||||
// if err != nil {
|
|
||||||
// return nil, err
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
d := &driver{
|
d := &driver{
|
||||||
Client: client,
|
Client: client,
|
||||||
|
|
Loading…
Reference in a new issue