Merge pull request #443 from fkautz/pr_out_reformatting_imports

master
Frederick F. Kautz IV 10 years ago
commit 183df976f3
  1. 3
      pkg/api/config/config.go
  2. 3
      pkg/drivers/api_testsuite.go
  3. 3
      pkg/drivers/donut/donut.go
  4. 1
      pkg/drivers/file/file_policy.go
  5. 3
      pkg/drivers/memory/memory.go
  6. 1
      pkg/server/server.go
  7. 3
      pkg/storage/donut/bucket.go
  8. 3
      pkg/storage/donut/node_local.go
  9. 3
      pkg/storage/donut/object_writer.go

@ -18,12 +18,13 @@ package config
import ( import (
"encoding/json" "encoding/json"
"github.com/minio-io/iodine"
"io" "io"
"os" "os"
"os/user" "os/user"
"path" "path"
"sync" "sync"
"github.com/minio-io/iodine"
) )
// Config context // Config context

@ -21,8 +21,9 @@ import (
"math/rand" "math/rand"
"strconv" "strconv"
"github.com/minio-io/check"
"time" "time"
"github.com/minio-io/check"
) )
// APITestSuite - collection of API tests // APITestSuite - collection of API tests

@ -24,11 +24,12 @@ import (
"strings" "strings"
"time" "time"
"io/ioutil"
"github.com/minio-io/iodine" "github.com/minio-io/iodine"
"github.com/minio-io/minio/pkg/drivers" "github.com/minio-io/minio/pkg/drivers"
"github.com/minio-io/minio/pkg/storage/donut" "github.com/minio-io/minio/pkg/storage/donut"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio-io/minio/pkg/utils/log"
"io/ioutil"
) )
// donutDriver - creates a new single disk drivers driver using donut // donutDriver - creates a new single disk drivers driver using donut

@ -21,6 +21,7 @@ import (
"path" "path"
"encoding/json" "encoding/json"
"github.com/minio-io/minio/pkg/drivers" "github.com/minio-io/minio/pkg/drivers"
) )

@ -28,8 +28,9 @@ import (
"crypto/md5" "crypto/md5"
"encoding/hex" "encoding/hex"
"github.com/minio-io/minio/pkg/drivers"
"io/ioutil" "io/ioutil"
"github.com/minio-io/minio/pkg/drivers"
) )
// memoryDriver - local variables // memoryDriver - local variables

@ -22,6 +22,7 @@ import (
"reflect" "reflect"
"errors" "errors"
"github.com/minio-io/iodine" "github.com/minio-io/iodine"
"github.com/minio-io/minio/pkg/api" "github.com/minio-io/minio/pkg/api"
"github.com/minio-io/minio/pkg/api/web" "github.com/minio-io/minio/pkg/api/web"

@ -2,9 +2,10 @@ package donut
import ( import (
"errors" "errors"
"github.com/minio-io/iodine"
"strconv" "strconv"
"strings" "strings"
"github.com/minio-io/iodine"
) )
type donutBucket struct { type donutBucket struct {

@ -8,9 +8,10 @@ import (
"strings" "strings"
"encoding/json" "encoding/json"
"github.com/minio-io/iodine"
"io/ioutil" "io/ioutil"
"path/filepath" "path/filepath"
"github.com/minio-io/iodine"
) )
type localDirectoryNode struct { type localDirectoryNode struct {

@ -2,10 +2,11 @@ package donut
import ( import (
"encoding/json" "encoding/json"
"github.com/minio-io/iodine"
"io/ioutil" "io/ioutil"
"os" "os"
"path" "path"
"github.com/minio-io/iodine"
) )
func newDonutObjectWriter(objectDir string) (Writer, error) { func newDonutObjectWriter(objectDir string) (Writer, error) {

Loading…
Cancel
Save