Browse Source

go fmt

pull/5619/head
chrislu 7 months ago
parent
commit
ba98f02d02
  1. 2
      weed/replication/sink/s3sink/s3_sink.go
  2. 1
      weed/stats/disk_openbsd.go

2
weed/replication/sink/s3sink/s3_sink.go

@ -1,6 +1,7 @@
package S3Sink
import (
"encoding/base64"
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
@ -11,7 +12,6 @@ import (
"github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"
"strconv"
"strings"
"encoding/base64"
"github.com/seaweedfs/seaweedfs/weed/filer"
"github.com/seaweedfs/seaweedfs/weed/glog"

1
weed/stats/disk_openbsd.go

@ -22,4 +22,3 @@ func fillInDiskStatus(disk *volume_server_pb.DiskStatus) {
disk.PercentUsed = float32((float64(disk.Used) / float64(disk.All)) * 100)
return
}
Loading…
Cancel
Save