Browse Source

go fmt

pull/2348/head
Chris Lu 3 years ago
parent
commit
84fdda85e7
  1. 4
      weed/command/filer_remote_gateway.go
  2. 11
      weed/command/filer_remote_sync.go
  3. 1
      weed/s3api/s3api_object_skip_handlers.go

4
weed/command/filer_remote_gateway.go

@ -22,8 +22,8 @@ type RemoteGatewayOptions struct {
timeAgo *time.Duration
createBucketAt *string
createBucketRandomSuffix *bool
include *string
exclude *string
include *string
exclude *string
mappings *remote_pb.RemoteStorageMapping
remoteConfs map[string]*remote_pb.RemoteConf

11
weed/command/filer_remote_sync.go

@ -13,12 +13,11 @@ import (
)
type RemoteSyncOptions struct {
filerAddress *string
grpcDialOption grpc.DialOption
readChunkFromFiler *bool
timeAgo *time.Duration
dir *string
filerAddress *string
grpcDialOption grpc.DialOption
readChunkFromFiler *bool
timeAgo *time.Duration
dir *string
}
var _ = filer_pb.FilerClient(&RemoteSyncOptions{})

1
weed/s3api/s3api_object_skip_handlers.go

@ -35,4 +35,3 @@ func (s3a *S3ApiServer) PutObjectLockConfigurationHandler(w http.ResponseWriter,
w.WriteHeader(http.StatusNoContent)
}
Loading…
Cancel
Save