Commit 645bdf0a authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Use the new mapper wrapper instead of assign_wrapper. This code path

is not currently in use though.
parent 3502c206
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2008 University of Utah and the Flux Group. # Copyright (c) 2000-2009 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
...@@ -97,7 +97,7 @@ my $signaled = 0; ...@@ -97,7 +97,7 @@ my $signaled = 0;
my $tbdir = "$TB/bin"; my $tbdir = "$TB/bin";
my $tbdata = "tbdata"; my $tbdata = "tbdata";
my $checkquota = "$TB/sbin/checkquota"; my $checkquota = "$TB/sbin/checkquota";
my $wrapper = "$TB/libexec/assign_wrapper"; my $vtopgen = "$TBROOT/bin/vtopgen";
my $batch = 0; my $batch = 0;
my $idleswap = 0; my $idleswap = 0;
my $autoswap = 0; my $autoswap = 0;
...@@ -1062,7 +1062,7 @@ elsif ($inout eq "modify") { ...@@ -1062,7 +1062,7 @@ elsif ($inout eq "modify") {
# Need the min/max numbers, usually done during prerun. # Need the min/max numbers, usually done during prerun.
# #
print "Doing a pre-assign ...\n"; print "Doing a pre-assign ...\n";
if (system("$wrapper -t $pid $eid")) { if (system("$vtopgen -p $pid $eid")) {
fatal({type => 'secondary', severity => SEV_SECONDARY, fatal({type => 'secondary', severity => SEV_SECONDARY,
error => ['update_aborted', undef]}, error => ['update_aborted', undef]},
"assign prerun failed!"); "assign prerun failed!");
......
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