diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-19 12:06:15 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-19 12:06:15 -0700 |
| commit | 84fdda85e740ffbcb8b86806c17b33fb86a5af96 (patch) | |
| tree | 4ca56277ef599bdf51e84483c8b3cadd90d0d363 | |
| parent | ad5099e57011e3a7cac8e34436ecf718acf3e5b3 (diff) | |
| download | seaweedfs-84fdda85e740ffbcb8b86806c17b33fb86a5af96.tar.xz seaweedfs-84fdda85e740ffbcb8b86806c17b33fb86a5af96.zip | |
go fmt
| -rw-r--r-- | weed/command/filer_remote_gateway.go | 4 | ||||
| -rw-r--r-- | weed/command/filer_remote_sync.go | 11 | ||||
| -rw-r--r-- | weed/s3api/s3api_object_skip_handlers.go | 1 |
3 files changed, 7 insertions, 9 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{}) diff --git a/weed/s3api/s3api_object_skip_handlers.go b/weed/s3api/s3api_object_skip_handlers.go index 3dc74af85..935787fbb 100644 --- a/weed/s3api/s3api_object_skip_handlers.go +++ b/weed/s3api/s3api_object_skip_handlers.go @@ -35,4 +35,3 @@ func (s3a *S3ApiServer) PutObjectLockConfigurationHandler(w http.ResponseWriter, w.WriteHeader(http.StatusNoContent) } - |
