Browse Source

skip cookie checking if from grpc api

pull/2128/head
Chris Lu 4 years ago
parent
commit
4d0cbd2700
  1. 2
      weed/operation/delete_content.go

2
weed/operation/delete_content.go

@ -100,7 +100,7 @@ func DeleteFilesWithLookupVolumeId(grpcDialOption grpc.DialOption, fileIds []str
go func(server string, fidList []string) {
defer wg.Done()
if deleteResults, deleteErr := DeleteFilesAtOneVolumeServer(server, grpcDialOption, fidList, true); deleteErr != nil {
if deleteResults, deleteErr := DeleteFilesAtOneVolumeServer(server, grpcDialOption, fidList, false); deleteErr != nil {
err = deleteErr
} else if deleteResults != nil {
resultChan <- deleteResults

Loading…
Cancel
Save