remove unused code and fix todo format

Signed-off-by: tgic <farmer1992@gmail.com>
This commit is contained in:
tgic 2015-07-31 12:46:54 +08:00
parent 3eaab7da95
commit 72c794a810

View file

@ -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,