diff options
| author | chrislu <chris.lu@gmail.com> | 2025-06-03 22:46:07 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-06-03 22:46:10 -0700 |
| commit | bd4891a11787dc8ef93c4cc829eb907ac296db68 (patch) | |
| tree | 435c60304e18be9c02936db7a71d0008d1d2b94c /weed/command/benchmark.go | |
| parent | 7039d5003ce41067f1e7b5ee9d2ad9378f54aeea (diff) | |
| download | seaweedfs-bd4891a11787dc8ef93c4cc829eb907ac296db68.tar.xz seaweedfs-bd4891a11787dc8ef93c4cc829eb907ac296db68.zip | |
change version directory
Diffstat (limited to 'weed/command/benchmark.go')
| -rw-r--r-- | weed/command/benchmark.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go index 715ae3d67..e0cb31437 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -5,6 +5,7 @@ import ( "context" "fmt" "github.com/seaweedfs/seaweedfs/weed/pb" + "github.com/seaweedfs/seaweedfs/weed/util/version" "io" "math" "math/rand" @@ -115,7 +116,7 @@ func runBenchmark(cmd *Command, args []string) bool { util.LoadSecurityConfiguration() b.grpcDialOption = security.LoadClientTLS(util.GetViper(), "grpc.client") - fmt.Printf("This is SeaweedFS version %s %s %s\n", util.Version(), runtime.GOOS, runtime.GOARCH) + fmt.Printf("This is SeaweedFS version %s %s %s\n", version.Version(), runtime.GOOS, runtime.GOARCH) if *b.maxCpu < 1 { *b.maxCpu = runtime.NumCPU() } |
