Commit 0e2d084a authored by Leigh Stoller's avatar Leigh Stoller

Fix a dependency problem between step2_newids and step5_newids. The

archive users created in step2 should not try to insert a uuid since
that is not added to the schema until step5.
parent 92c64025
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006, 2007 University of Utah and the Flux Group.
# Copyright (c) 2006-2008 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -86,7 +86,8 @@ sub UpdateTable($$$)
'Deleted user restored as Archived');
my $newuser = User->Create($oldvalue,
$User::NEWUSER_FLAGS_ARCHIVED,
$User::NEWUSER_FLAGS_ARCHIVED|
$User::NEWUSER_FLAGS_NOUUID,
\%newuser_args);
$idx = $newuser->uid_idx();
......
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