File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ let choose_datapath ?(persistent = true) response =
227
227
let uri = Uri. of_string x in
228
228
match Uri. scheme uri with
229
229
| None -> None
230
- | Some scheme -> Some (scheme, uri )
230
+ | Some scheme -> Some (scheme, x )
231
231
) response.Storage.Volume.Types. uri in
232
232
(* We can only use URIs whose schemes correspond to registered plugins *)
233
233
let possible = List. filter ~f: (fun (scheme , _ ) -> Hashtbl. mem ! Datapath_plugins. table scheme) possible in
@@ -243,7 +243,7 @@ let choose_datapath ?(persistent = true) response =
243
243
supports_nonpersistent @ others in
244
244
match preference_order with
245
245
| [] -> return (Error (missing_uri () ))
246
- | (scheme , u ) :: us -> return (Ok (scheme, Uri. to_string u, " 0" ))
246
+ | (scheme , u ) :: us -> return (Ok (scheme, u, " 0" ))
247
247
248
248
(* Process a message *)
249
249
let process root_dir name x =
You can’t perform that action at this time.
0 commit comments