Skip to content

Commit 56a2a48

Browse files
committed
Gofmt
1 parent c6bba35 commit 56a2a48

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

config.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ type S3BucketConfig struct {
3434
Credentials *AWSCredentialsConfig `toml:"credentials"`
3535
Region string `toml:"region"`
3636
Endpoint string `toml:"endpoint"`
37-
DisableSSL *bool `toml:"disable_ssl"`
38-
S3ForcePathStyle *bool `toml:"s3_force_path_style"`
37+
DisableSSL *bool `toml:"disable_ssl"`
38+
S3ForcePathStyle *bool `toml:"s3_force_path_style"`
3939
Bucket string `toml:"bucket"`
4040
KeyPrefix string `toml:"key_prefix"`
4141
BucketUrl *URL `toml:"bucket_url"`

server.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ func (s *Server) HandleChannel(ctx context.Context, bucket *S3Bucket, sshCh ssh.
4242
sshCh,
4343
asHandlers(
4444
&S3BucketIO{
45-
Ctx: ctx,
46-
Bucket: bucket,
45+
Ctx: ctx,
46+
Bucket: bucket,
4747
ReaderLookbackBufferSize: s.ReaderLookbackBufferSize,
4848
ReaderMinChunkSize: s.ReaderMinChunkSize,
4949
ListerLookbackBufferSize: s.ListerLookbackBufferSize,
50-
Log: s.Log,
51-
PhantomObjectMap: s.PhantomObjectMap,
52-
Perms: bucket.Perms,
53-
ServerSideEncryption: &bucket.ServerSideEncryption,
54-
Now: s.Now,
50+
Log: s.Log,
51+
PhantomObjectMap: s.PhantomObjectMap,
52+
Perms: bucket.Perms,
53+
ServerSideEncryption: &bucket.ServerSideEncryption,
54+
Now: s.Now,
5555
},
5656
),
5757
)

0 commit comments

Comments
 (0)