Commit 00c58994 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

New Images *must* use the same unique counter as new osids cause of the

ez path which uses the same new id for both.
parent 44d5a782
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2007 University of Utah and the Flux Group.
# Copyright (c) 2007, 2008 University of Utah and the Flux Group.
# All rights reserved.
#
package Image;
......@@ -234,7 +234,7 @@ sub Create($$$$$$$$)
#
# Grab unique ID. Table already locked.
#
$imageid = TBGetUniqueIndex("next_imageid", undef, 1);
$imageid = TBGetUniqueIndex("next_osid", undef, 1);
}
my $uuid = NewUUID();
......
Supports Markdown
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