[Libguestfs] [PATCH 06/61] p2v: convert - set converter before updating values

Maros Zatko mzatko at redhat.com
Wed Feb 12 14:30:18 UTC 2014


---
 p2v/client/lib/virt-p2v/ui/convert.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/p2v/client/lib/virt-p2v/ui/convert.rb b/p2v/client/lib/virt-p2v/ui/convert.rb
index 244125e..74d201f 100644
--- a/p2v/client/lib/virt-p2v/ui/convert.rb
+++ b/p2v/client/lib/virt-p2v/ui/convert.rb
@@ -145,10 +145,11 @@ module VirtP2V::UI::Convert
 
         @state = nil
         set_state(UI_STATE_INVALID)
-        update_values
 
         @ui = ui
         @converter = converter
+
+        update_values
     end
 
     def self.event(event, status)
-- 
1.8.3.1




More information about the Libguestfs mailing list