diff options
Diffstat (limited to 'weed/command')
| -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++ |
