aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-19 12:06:15 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-19 12:06:15 -0700
commit84fdda85e740ffbcb8b86806c17b33fb86a5af96 (patch)
tree4ca56277ef599bdf51e84483c8b3cadd90d0d363 /weed/command
parentad5099e57011e3a7cac8e34436ecf718acf3e5b3 (diff)
downloadseaweedfs-84fdda85e740ffbcb8b86806c17b33fb86a5af96.tar.xz
seaweedfs-84fdda85e740ffbcb8b86806c17b33fb86a5af96.zip
go fmt
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/filer_remote_gateway.go4
-rw-r--r--weed/command/filer_remote_sync.go11
2 files changed, 7 insertions, 8 deletions
diff --git a/weed/command/filer_remote_gateway.go b/weed/command/filer_remote_gateway.go
index be5ab3fe2..9426f3841 100644
--- a/weed/command/filer_remote_gateway.go
+++ b/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
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go
index d44178ee7..c55544925 100644
--- a/weed/command/filer_remote_sync.go
+++ b/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{})