From 72c794a8102bf3b45a03a97adf15eb83c98cb327 Mon Sep 17 00:00:00 2001 From: tgic Date: Fri, 31 Jul 2015 12:46:54 +0800 Subject: [PATCH] remove unused code and fix todo format Signed-off-by: tgic --- registry/storage/driver/oss/oss.go | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/registry/storage/driver/oss/oss.go b/registry/storage/driver/oss/oss.go index 108ad475..cec32026 100644 --- a/registry/storage/driver/oss/oss.go +++ b/registry/storage/driver/oss/oss.go @@ -209,20 +209,8 @@ func New(params DriverParameters) (*Driver, error) { 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. - // 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{ Client: client,