Commit 61c76604 authored by David Johnson's avatar David Johnson

Minor fix to libosload_new: correct partition image vers arg to OSinfo->Lookup.

parent b62f1819
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-2014 University of Utah and the Flux Group.
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -2100,8 +2100,10 @@ sub UpdatePartitions($$)
#
for (my $i = $startpart; $i < $endpart; $i++) {
my $partname = "part${i}_osid";
my $partvers = "part${i}_vers";
my $osid = $rowref->{$partname};
my $vers = $rowref->{$partvers};
if (defined($osid)) {
my $osinfo = OSinfo->Lookup($osid, $vers);
if (!defined($osinfo)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment