21126: Add AllowTrashWhenReadOnly flag.
[arvados.git] / services / keepstore / command.go
index 9761680fb5137e8601e1a389a918fadecf7a9bc3..db387f494b06c8d8b4e3fc1b38f7732e187e767f 100644 (file)
@@ -211,7 +211,7 @@ func (h *handler) setup(ctx context.Context, cluster *arvados.Cluster, token str
        if d := h.Cluster.Collections.BlobTrashCheckInterval.Duration(); d > 0 &&
                h.Cluster.Collections.BlobTrash &&
                h.Cluster.Collections.BlobDeleteConcurrency > 0 {
-               go emptyTrash(h.volmgr.writables, d)
+               go emptyTrash(h.volmgr.mounts, d)
        }
 
        return nil