Browse Source

reformat

pull/747/head
Chris Lu 6 years ago
parent
commit
f8c2704d2b
  1. 2
      weed/replication/sink/gcssink/gcs_sink.go
  2. 2
      weed/replication/sink/s3sink/s3_sink.go

2
weed/replication/sink/gcssink/gcs_sink.go

@ -4,6 +4,7 @@ import (
"context" "context"
"fmt" "fmt"
"log" "log"
"os"
"cloud.google.com/go/storage" "cloud.google.com/go/storage"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
@ -11,7 +12,6 @@ import (
"github.com/chrislusf/seaweedfs/weed/util" "github.com/chrislusf/seaweedfs/weed/util"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/chrislusf/seaweedfs/weed/replication/sink"
"os"
"google.golang.org/api/option" "google.golang.org/api/option"
) )

2
weed/replication/sink/s3sink/s3_sink.go

@ -2,6 +2,7 @@ package S3Sink
import ( import (
"fmt" "fmt"
"sync"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/source" "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/s3iface"
"github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/aws/session"
"sync"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/chrislusf/seaweedfs/weed/replication/sink"
"github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws"

Loading…
Cancel
Save