X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3826a6339ba1c901c054053920ed20547b3ba54d..26d20f13895fdf5c9224a7aca2b33625c511e73e:/services/keepstore/handlers.go diff --git a/services/keepstore/handlers.go b/services/keepstore/handlers.go index 258604ce59..a84a84db3c 100644 --- a/services/keepstore/handlers.go +++ b/services/keepstore/handlers.go @@ -514,7 +514,7 @@ type PullRequest struct { Servers []string `json:"servers"` // Destination mount, or "" for "anywhere" - MountUUID string + MountUUID string `json:"mount_uuid"` } // PullHandler processes "PUT /pull" requests for the data manager. @@ -547,13 +547,13 @@ func PullHandler(resp http.ResponseWriter, req *http.Request) { pullq.ReplaceQueue(plist) } -// TrashRequest consists of a block locator and it's Mtime +// TrashRequest consists of a block locator and its Mtime type TrashRequest struct { Locator string `json:"locator"` BlockMtime int64 `json:"block_mtime"` // Target mount, or "" for "everywhere" - MountUUID string + MountUUID string `json:"mount_uuid"` } // TrashHandler processes /trash requests.