Browse Source

minor textual change

pull/2/head
Chris Lu 11 years ago
parent
commit
cb56322937
  1. 4
      go/operation/delete_content.go

4
go/operation/delete_content.go

@ -84,13 +84,13 @@ func DeleteFiles(master string, fileIds []string) (*DeleteFilesResult, error) {
}
jsonBlob, err := util.Post("http://"+server+"/delete", values)
if err != nil {
ret.Errors = append(ret.Errors, err.Error()+"\n"+string(jsonBlob))
ret.Errors = append(ret.Errors, err.Error()+" "+string(jsonBlob))
return
}
var result []DeleteResult
err = json.Unmarshal(jsonBlob, &result)
if err != nil {
ret.Errors = append(ret.Errors, err.Error()+"\n"+string(jsonBlob))
ret.Errors = append(ret.Errors, err.Error()+" "+string(jsonBlob))
return
}
ret.Results = append(ret.Results, result...)

Loading…
Cancel
Save