Blame SOURCES/0010-o-kubevirt-Fix-mistake-in-error-message.patch

b85204
From 4623b2aab891fdbeda0486ad00f1fa2a7f5533fe Mon Sep 17 00:00:00 2001
b85204
From: "Richard W.M. Jones" <rjones@redhat.com>
b85204
Date: Thu, 19 Jan 2023 08:51:30 +0000
b85204
Subject: [PATCH] -o kubevirt: Fix mistake in error message
b85204
b85204
The error message was copied from output_local.ml:
b85204
b85204
virt-v2v: error: -o local: -op option cannot be used in this output mode
b85204
b85204
Reported-by: Xiaodai Wang
b85204
(cherry picked from commit be322ed49b1131e30a0b70f16d31fd29fca32b81)
b85204
---
b85204
 output/output_kubevirt.ml | 2 +-
b85204
 1 file changed, 1 insertion(+), 1 deletion(-)
b85204
b85204
diff --git a/output/output_kubevirt.ml b/output/output_kubevirt.ml
b85204
index 63ee8197..0a74dbbe 100644
b85204
--- a/output/output_kubevirt.ml
b85204
+++ b/output/output_kubevirt.ml
b85204
@@ -47,7 +47,7 @@ module Kubevirt = struct
b85204
     if options.output_options <> [] then
b85204
       error (f_"no -oo (output options) are allowed here");
b85204
     if options.output_password <> None then
b85204
-      error_option_cannot_be_used_in_output_mode "local" "-op";
b85204
+      error_option_cannot_be_used_in_output_mode "kubevirt" "-op";
b85204
 
b85204
     (* -os must be set to a directory. *)
b85204
     let output_storage =