diff --git a/docs/storage/driver/oss/oss.go b/docs/storage/driver/oss/oss.go index cbda6d16..108ad475 100644 --- a/docs/storage/driver/oss/oss.go +++ b/docs/storage/driver/oss/oss.go @@ -14,7 +14,6 @@ package oss import ( "bytes" "fmt" - "github.com/docker/distribution/context" "io" "io/ioutil" "net/http" @@ -24,6 +23,8 @@ import ( "sync" "time" + "github.com/docker/distribution/context" + "github.com/Sirupsen/logrus" "github.com/denverdino/aliyungo/oss" storagedriver "github.com/docker/distribution/registry/storage/driver" diff --git a/docs/storage/driver/oss/oss_test.go b/docs/storage/driver/oss/oss_test.go index 56ec3208..fbae5d9c 100644 --- a/docs/storage/driver/oss/oss_test.go +++ b/docs/storage/driver/oss/oss_test.go @@ -3,11 +3,12 @@ package oss import ( + "io/ioutil" + alioss "github.com/denverdino/aliyungo/oss" "github.com/docker/distribution/context" storagedriver "github.com/docker/distribution/registry/storage/driver" "github.com/docker/distribution/registry/storage/driver/testsuites" - "io/ioutil" //"log" "os" "strconv"