aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
authorVarun Upadhyay <varun.u28@gmail.com>2023-12-28 20:25:43 -0800
committerGitHub <noreply@github.com>2023-12-28 20:25:43 -0800
commit77626666c5cdff4aa37b9e1ea4c451429ff0a415 (patch)
treeacaad330736fe7f3770d22e29c351d5c060df48f /weed
parent183352c796d0f81b8ff8072f18b74f615133c1fe (diff)
downloadseaweedfs-77626666c5cdff4aa37b9e1ea4c451429ff0a415.tar.xz
seaweedfs-77626666c5cdff4aa37b9e1ea4c451429ff0a415.zip
Minor cleanup & gitignore update (#5144)
Diffstat (limited to 'weed')
-rw-r--r--weed/weed.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/weed/weed.go b/weed/weed.go
index 60d6bf683..773d86274 100644
--- a/weed/weed.go
+++ b/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) {