aboutsummaryrefslogtreecommitdiff
path: root/go/operation/delete_content.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/operation/delete_content.go')
-rw-r--r--go/operation/delete_content.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/go/operation/delete_content.go b/go/operation/delete_content.go
index 416a852b3..064cc8df9 100644
--- a/go/operation/delete_content.go
+++ b/go/operation/delete_content.go
@@ -66,11 +66,11 @@ func DeleteFiles(master string, fileIds []string) (*DeleteFilesResult, error) {
continue
}
for _, location := range result.Locations {
- if _, ok := server_to_fileIds[location.PublicUrl]; !ok {
- server_to_fileIds[location.PublicUrl] = make([]string, 0)
+ if _, ok := server_to_fileIds[location.Url]; !ok {
+ server_to_fileIds[location.Url] = make([]string, 0)
}
- server_to_fileIds[location.PublicUrl] = append(
- server_to_fileIds[location.PublicUrl], vid_to_fileIds[vid]...)
+ server_to_fileIds[location.Url] = append(
+ server_to_fileIds[location.Url], vid_to_fileIds[vid]...)
}
}