From f8c2704d2b3afdaf77d5fa7be290fbee9e54e8dc Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 6 Oct 2018 13:04:33 -0700 Subject: [PATCH] reformat --- weed/replication/sink/gcssink/gcs_sink.go | 2 +- weed/replication/sink/s3sink/s3_sink.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/replication/sink/gcssink/gcs_sink.go b/weed/replication/sink/gcssink/gcs_sink.go index f96cae7df..2e0cf10f8 100644 --- a/weed/replication/sink/gcssink/gcs_sink.go +++ b/weed/replication/sink/gcssink/gcs_sink.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "log" + "os" "cloud.google.com/go/storage" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" @@ -11,7 +12,6 @@ import ( "github.com/chrislusf/seaweedfs/weed/util" "github.com/chrislusf/seaweedfs/weed/filer2" "github.com/chrislusf/seaweedfs/weed/replication/sink" - "os" "google.golang.org/api/option" ) diff --git a/weed/replication/sink/s3sink/s3_sink.go b/weed/replication/sink/s3sink/s3_sink.go index ee2e46422..997bed30b 100644 --- a/weed/replication/sink/s3sink/s3_sink.go +++ b/weed/replication/sink/s3sink/s3_sink.go @@ -2,6 +2,7 @@ package S3Sink import ( "fmt" + "sync" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/chrislusf/seaweedfs/weed/replication/source" @@ -9,7 +10,6 @@ import ( "github.com/aws/aws-sdk-go/service/s3/s3iface" "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/aws/session" - "sync" "github.com/chrislusf/seaweedfs/weed/filer2" "github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/aws/aws-sdk-go/aws"