Fix detection of guest minor version. master
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 24 Dec 2016 13:38:41 +0000 (13:38 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 24 Dec 2016 13:39:19 +0000 (13:39 +0000)
Thanks: Emmanuel Kasper

import-to-ovirt.pl

index d9204b4..7052cce 100755 (executable)
@@ -259,7 +259,7 @@ my $type = $g->inspect_get_type ($root);
 my $distro = $g->inspect_get_distro ($root);
 my $arch = $g->inspect_get_arch ($root);
 my $major_version = $g->inspect_get_major_version ($root);
-my $minor_version = $g->inspect_get_major_version ($root);
+my $minor_version = $g->inspect_get_minor_version ($root);
 my $product_name = $g->inspect_get_product_name ($root);
 my $product_variant = $g->inspect_get_product_variant ($root);