mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Minor cleanup & gitignore update (#5144)
This commit is contained in:
parent
183352c796
commit
77626666c5
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -89,3 +89,6 @@ other/java/hdfs/dependency-reduced-pom.xml
|
|||
weed/weed
|
||||
weed/mq/client/cmd/weed_pub/weed_pub
|
||||
docker/weed
|
||||
|
||||
# test generated files
|
||||
weed/*/*.jpg
|
10
weed/weed.go
10
weed/weed.go
|
@ -3,20 +3,19 @@ package main
|
|||
import (
|
||||
"embed"
|
||||
"fmt"
|
||||
weed_server "github.com/seaweedfs/seaweedfs/weed/server"
|
||||
"github.com/seaweedfs/seaweedfs/weed/util"
|
||||
flag "github.com/seaweedfs/seaweedfs/weed/util/fla9"
|
||||
"io"
|
||||
"io/fs"
|
||||
"math/rand"
|
||||
"os"
|
||||
"strings"
|
||||
"sync"
|
||||
"text/template"
|
||||
"time"
|
||||
"unicode"
|
||||
"unicode/utf8"
|
||||
|
||||
weed_server "github.com/seaweedfs/seaweedfs/weed/server"
|
||||
"github.com/seaweedfs/seaweedfs/weed/util"
|
||||
flag "github.com/seaweedfs/seaweedfs/weed/util/fla9"
|
||||
|
||||
"github.com/seaweedfs/seaweedfs/weed/command"
|
||||
"github.com/seaweedfs/seaweedfs/weed/glog"
|
||||
)
|
||||
|
@ -48,7 +47,6 @@ func init() {
|
|||
func main() {
|
||||
glog.MaxSize = 1024 * 1024 * 10
|
||||
glog.MaxFileCount = 5
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
flag.Usage = usage
|
||||
|
||||
if command.AutocompleteMain(commands) {
|
||||
|
|
Loading…
Reference in a new issue