mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
builder: use the new json_parser_tree_parse_file
No need to read the whole file manually.
This commit is contained in:
@@ -44,7 +44,7 @@ let get_index ~downloader ~sigchecker { Sources.uri; proxy } =
|
||||
| Some f -> f
|
||||
) else
|
||||
tmpfile in
|
||||
json_parser_tree_parse (read_whole_file file) in
|
||||
json_parser_tree_parse_file file in
|
||||
|
||||
let downloads =
|
||||
let uri_index =
|
||||
|
||||
Reference in New Issue
Block a user