Skip to content

Commit

Permalink
v2v: Add full stop after multi-line error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwmjones committed Nov 20, 2015
1 parent 6faa0bb commit 37e1451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2v/v2v.ml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ and init_targets cmdline output source overlays =
| Some format, _ -> format (* -of overrides everything *)
| None, Some format -> format (* same as backing format *)
| None, None ->
error (f_"disk %s (%s) has no defined format.\n\nThe input metadata did not define the disk format (eg. raw/qcow2/etc) of this disk, and so virt-v2v will try to autodetect the format when reading it.\n\nHowever because the input format was not defined, we do not know what output format you want to use. You have two choices: either define the original format in the source metadata, or use the '-of' option to force the output format") ov.ov_sd ov.ov_source.s_qemu_uri in
error (f_"disk %s (%s) has no defined format.\n\nThe input metadata did not define the disk format (eg. raw/qcow2/etc) of this disk, and so virt-v2v will try to autodetect the format when reading it.\n\nHowever because the input format was not defined, we do not know what output format you want to use. You have two choices: either define the original format in the source metadata, or use the '-of' option to force the output format.") ov.ov_sd ov.ov_source.s_qemu_uri in

(* What really happens here is that the call to #disk_create
* below fails if the format is not raw or qcow2. We would
Expand Down

0 comments on commit 37e1451

Please sign in to comment.