diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-02-16 12:23:35 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-02-16 12:23:35 -0800 |
| commit | 98a03b38e5798fb75fe35174da297b3528b9750e (patch) | |
| tree | 50d61df4c498cb7888a7f8854cc125b1d9125cdd /weed/command/benchmark.go | |
| parent | 31aa60ce051b6da6617a3b733160015f2ddba693 (diff) | |
| download | seaweedfs-98a03b38e5798fb75fe35174da297b3528b9750e.tar.xz seaweedfs-98a03b38e5798fb75fe35174da297b3528b9750e.zip | |
avoid util package depends on security package
Diffstat (limited to 'weed/command/benchmark.go')
| -rw-r--r-- | weed/command/benchmark.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go index 47fdc69a0..93359b243 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -200,7 +200,7 @@ func writeFiles(idChan chan int, fileIdLineChan chan string, s *stat) { if isSecure { jwtAuthorization = operation.LookupJwt(masterClient.GetMaster(), df.fp.Fid) } - if e := util.Delete(fmt.Sprintf("http://%s/%s", df.fp.Server, df.fp.Fid), jwtAuthorization); e == nil { + if e := util.Delete(fmt.Sprintf("http://%s/%s", df.fp.Server, df.fp.Fid), string(jwtAuthorization)); e == nil { s.completed++ } else { s.failed++ |
