Commit 16c0a8c5 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix.

parent f1dad65c
...@@ -706,14 +706,6 @@ if (!defined($instance)) { ...@@ -706,14 +706,6 @@ if (!defined($instance)) {
fatal(defined($errmsg) ? $errmsg : fatal(defined($errmsg) ? $errmsg :
"Could not create instance record for $quickvm_uuid"); "Could not create instance record for $quickvm_uuid");
} }
# To keep stuff happy until multisite support finished.
if (keys(%{$sitemap})) {
my ($temp_aggregate_urn) = values(%{$sitemap});
$instance->Update({'aggregate_urn' => $temp_aggregate_urn});
}
else {
$instance->Update({'aggregate_urn' => $default_aggregate_urn});
}
# #
# Get the set of keys (accounts) that need to be sent along. We build # Get the set of keys (accounts) that need to be sent along. We build
...@@ -744,6 +736,9 @@ foreach my $aggregate_urn (@aggregate_urns) { ...@@ -744,6 +736,9 @@ foreach my $aggregate_urn (@aggregate_urns) {
push(@aggregate_list, $aggobj); push(@aggregate_list, $aggobj);
} }
# To keep stuff happy until multisite support finished.
$instance->Update({'aggregate_urn' => $aggregate_urns[0]});
# #
# Create a webtask so that we can store additional information about # Create a webtask so that we can store additional information about
# the sliver while we wait. # the sliver while we wait.
......
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