From 2f4443884357b8e116decf71fbac5516b1ab8f4d Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Sat, 4 Apr 2015 13:59:46 -0700 Subject: [PATCH] Reformatting imports --- pkg/api/config/config.go | 3 ++- pkg/drivers/api_testsuite.go | 3 ++- pkg/drivers/donut/donut.go | 3 ++- pkg/drivers/file/file_policy.go | 1 + pkg/drivers/memory/memory.go | 3 ++- pkg/server/server.go | 1 + pkg/storage/donut/bucket.go | 3 ++- pkg/storage/donut/node_local.go | 3 ++- pkg/storage/donut/object_writer.go | 3 ++- 9 files changed, 16 insertions(+), 7 deletions(-) diff --git a/pkg/api/config/config.go b/pkg/api/config/config.go index 8db6218ad..90e613b92 100644 --- a/pkg/api/config/config.go +++ b/pkg/api/config/config.go @@ -18,12 +18,13 @@ package config import ( "encoding/json" - "github.com/minio-io/iodine" "io" "os" "os/user" "path" "sync" + + "github.com/minio-io/iodine" ) // Config context diff --git a/pkg/drivers/api_testsuite.go b/pkg/drivers/api_testsuite.go index 888b9248c..ae5b603d1 100644 --- a/pkg/drivers/api_testsuite.go +++ b/pkg/drivers/api_testsuite.go @@ -21,8 +21,9 @@ import ( "math/rand" "strconv" - "github.com/minio-io/check" "time" + + "github.com/minio-io/check" ) // APITestSuite - collection of API tests diff --git a/pkg/drivers/donut/donut.go b/pkg/drivers/donut/donut.go index c93f527cf..a088a6c96 100644 --- a/pkg/drivers/donut/donut.go +++ b/pkg/drivers/donut/donut.go @@ -24,11 +24,12 @@ import ( "strings" "time" + "io/ioutil" + "github.com/minio-io/iodine" "github.com/minio-io/minio/pkg/drivers" "github.com/minio-io/minio/pkg/storage/donut" "github.com/minio-io/minio/pkg/utils/log" - "io/ioutil" ) // donutDriver - creates a new single disk drivers driver using donut diff --git a/pkg/drivers/file/file_policy.go b/pkg/drivers/file/file_policy.go index d0d410ffd..9819842a6 100644 --- a/pkg/drivers/file/file_policy.go +++ b/pkg/drivers/file/file_policy.go @@ -21,6 +21,7 @@ import ( "path" "encoding/json" + "github.com/minio-io/minio/pkg/drivers" ) diff --git a/pkg/drivers/memory/memory.go b/pkg/drivers/memory/memory.go index 3332634b1..7ec382ce0 100644 --- a/pkg/drivers/memory/memory.go +++ b/pkg/drivers/memory/memory.go @@ -28,8 +28,9 @@ import ( "crypto/md5" "encoding/hex" - "github.com/minio-io/minio/pkg/drivers" "io/ioutil" + + "github.com/minio-io/minio/pkg/drivers" ) // memoryDriver - local variables diff --git a/pkg/server/server.go b/pkg/server/server.go index d2a90bd84..b4ee1b286 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -22,6 +22,7 @@ import ( "reflect" "errors" + "github.com/minio-io/iodine" "github.com/minio-io/minio/pkg/api" "github.com/minio-io/minio/pkg/api/web" diff --git a/pkg/storage/donut/bucket.go b/pkg/storage/donut/bucket.go index a898deaac..f81e464b0 100644 --- a/pkg/storage/donut/bucket.go +++ b/pkg/storage/donut/bucket.go @@ -2,9 +2,10 @@ package donut import ( "errors" - "github.com/minio-io/iodine" "strconv" "strings" + + "github.com/minio-io/iodine" ) type donutBucket struct { diff --git a/pkg/storage/donut/node_local.go b/pkg/storage/donut/node_local.go index 6d9f75611..0427917fc 100644 --- a/pkg/storage/donut/node_local.go +++ b/pkg/storage/donut/node_local.go @@ -8,9 +8,10 @@ import ( "strings" "encoding/json" - "github.com/minio-io/iodine" "io/ioutil" "path/filepath" + + "github.com/minio-io/iodine" ) type localDirectoryNode struct { diff --git a/pkg/storage/donut/object_writer.go b/pkg/storage/donut/object_writer.go index eb461979a..7f506673b 100644 --- a/pkg/storage/donut/object_writer.go +++ b/pkg/storage/donut/object_writer.go @@ -2,10 +2,11 @@ package donut import ( "encoding/json" - "github.com/minio-io/iodine" "io/ioutil" "os" "path" + + "github.com/minio-io/iodine" ) func newDonutObjectWriter(objectDir string) (Writer, error) {