Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

go fmt

Chris Lu84fdda85e740
diff --git a/weed/command/filer_remote_gateway.go b/weed/command/filer_remote_gateway.go
index be5ab3fe2f..9426f38412 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 d44178ee74..c555449252 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 3dc74af85a..935787fbbf 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)
}
-