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

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