Skip to content

Commit

Permalink
Code review: Tweak error message
Browse files Browse the repository at this point in the history
Co-authored-by: Hannes Mehnert <[email protected]>
  • Loading branch information
reynir and hannesm committed Nov 20, 2024
1 parent 4156297 commit ef81a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vmm_unix.ml
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,11 @@ let devices_match ~bridges ~block_devices mft =
in
let* () =
equal_string_lists manifest_block block_devices
(Fmt.str "specified block device(s) does not match with manifest. Declared devices: %a"
(Fmt.str "specified block device(s) does not match with manifest. Devices present in manifest: %a"
Fmt.(list ~sep:(any ", ") pp_entry) mft.entries)
in
equal_string_lists manifest_net bridges
(Fmt.str "specified bridge(s) does not match with the manifest. Declared devices: %a"
(Fmt.str "specified bridge(s) does not match with the manifest. Devices present in manifest: %a"
Fmt.(list ~sep:(any ", ") pp_entry) mft.entries)

let manifest_devices_match ~bridges ~block_devices image =
Expand Down

0 comments on commit ef81a24

Please sign in to comment.