Commit 22b057db authored by Leigh Stoller's avatar Leigh Stoller

Bug fix wrt SelfLoader() of Node.pm; Must call self loaded routines

as Node->CreateVnodes() instead of Node::CreateVnodes().
parent 1b65c836
......@@ -1675,9 +1675,9 @@ sub SetEventState($$)
# be used when creating the new node(s). A list of the node names is
# returned.
#
sub CreateVnodes($$)
sub CreateVnodes($$$)
{
my ($rptr, $options) = @_;
my ($class, $rptr, $options) = @_;
my @created = ();
my @tocreate = ();
require Interface;
......
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2009 University of Utah and the Flux Group.
# Copyright (c) 2000-2010 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -1713,7 +1713,7 @@ foreach my $pnode (sort(keys(%virtnodes))) {
#
# Call into library. Be sure to pass impotent mode along.
#
if (Node::CreateVnodes(\@plist,
if (Node->CreateVnodes(\@plist,
{"pid" => "$pid", "eid" => "$eid",
"count" => $numvs,
"vtype" => $vtype,
......
......@@ -4911,7 +4911,7 @@ sub AllocVirtNodes($)
if ($virtnode->_isdynamic()) {
# Always use the base type ... node type system sucks.
my $basetype = $virtnode->_typeinfo->type();
my $basetype = $virtnode->_typeinfo()->type();
#
# We might be expecting to allocate a shared vnode on
......@@ -4927,7 +4927,7 @@ sub AllocVirtNodes($)
#
# Call into library. Be sure to pass impotent mode along.
#
if (Node::CreateVnodes(\@plist,
if (Node->CreateVnodes(\@plist,
{"pid" => "$pid",
"eid" => "$eid",
"count" => $numvs,
......
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