aboutsummaryrefslogtreecommitdiff
path: root/weed/replication
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-11-01 01:12:21 -0700
committerChris Lu <chris.lu@gmail.com>2018-11-01 01:12:21 -0700
commit3674ad9f8ea86cb4903eaf6f1e3c2598d7f602eb (patch)
tree84455debabf84e42856918f8eae708188bb8417d /weed/replication
parentdb584ff7f8e6b5564ebab66fbe544bd6f626159d (diff)
downloadseaweedfs-3674ad9f8ea86cb4903eaf6f1e3c2598d7f602eb.tar.xz
seaweedfs-3674ad9f8ea86cb4903eaf6f1e3c2598d7f602eb.zip
go fmt
Diffstat (limited to 'weed/replication')
-rw-r--r--weed/replication/sink/s3sink/s3_sink.go2
-rw-r--r--weed/replication/sub/notification_aws_sqs.go10
-rw-r--r--weed/replication/sub/notification_google_pub_sub.go2
3 files changed, 7 insertions, 7 deletions
diff --git a/weed/replication/sink/s3sink/s3_sink.go b/weed/replication/sink/s3sink/s3_sink.go
index 50146a57d..3d497d795 100644
--- a/weed/replication/sink/s3sink/s3_sink.go
+++ b/weed/replication/sink/s3sink/s3_sink.go
@@ -10,11 +10,11 @@ import (
"github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3/s3iface"
"github.com/chrislusf/seaweedfs/weed/filer2"
+ "github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/sink"
"github.com/chrislusf/seaweedfs/weed/replication/source"
"github.com/chrislusf/seaweedfs/weed/util"
- "github.com/chrislusf/seaweedfs/weed/glog"
)
type S3Sink struct {
diff --git a/weed/replication/sub/notification_aws_sqs.go b/weed/replication/sub/notification_aws_sqs.go
index fe1732e88..f0100f4de 100644
--- a/weed/replication/sub/notification_aws_sqs.go
+++ b/weed/replication/sub/notification_aws_sqs.go
@@ -3,15 +3,15 @@ package sub
import (
"fmt"
- "github.com/chrislusf/seaweedfs/weed/glog"
- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
- "github.com/chrislusf/seaweedfs/weed/util"
- "github.com/golang/protobuf/proto"
"github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sqs"
- "github.com/aws/aws-sdk-go/aws/awserr"
+ "github.com/chrislusf/seaweedfs/weed/glog"
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
+ "github.com/chrislusf/seaweedfs/weed/util"
+ "github.com/golang/protobuf/proto"
)
func init() {
diff --git a/weed/replication/sub/notification_google_pub_sub.go b/weed/replication/sub/notification_google_pub_sub.go
index 49b0c56de..ad6b42a2e 100644
--- a/weed/replication/sub/notification_google_pub_sub.go
+++ b/weed/replication/sub/notification_google_pub_sub.go
@@ -5,11 +5,11 @@ import (
"fmt"
"os"
+ "cloud.google.com/go/pubsub"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/golang/protobuf/proto"
- "cloud.google.com/go/pubsub"
"google.golang.org/api/option"
)