Minor cleanup from refactoring

This commit is contained in:
Frederick F. Kautz IV
2015-04-11 21:32:25 -07:00
parent 7550571ece
commit 5528ebdf71
2 changed files with 3 additions and 9 deletions
+3 -3
View File
@@ -17,12 +17,12 @@
package main
import (
"github.com/cheggaaa/pb"
"io"
"github.com/minio-io/cli"
"github.com/minio-io/mc/pkg/console"
"github.com/minio-io/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/utils/log"
"io"
)
type message struct {
@@ -103,7 +103,7 @@ func doCopyCmd(ctx *cli.Context) {
for _, writer := range writeClosers {
writers = append(writers, writer)
}
bar := pb.New64(length)
bar := startBar(length)
writers = append(writers, bar)
// write progress bar
-6
View File
@@ -37,12 +37,6 @@ type Client interface {
StatObject(bucket, object string) (size int64, date time.Time, err error)
}
type WriteErrorCloser interface {
io.WriteCloser
CloseWithError(error) error
}
// Bucket - carries s3 bucket reply header
type Bucket struct {
Name string