Commit b0b64aeb authored by Leigh B Stoller's avatar Leigh B Stoller

Remove check for using the same site more then once. Works fine.

parent 34875577
......@@ -63,7 +63,7 @@ my $usetracker = 0;
my @aggregate_urns = ();
# Debugging
my $usemydevtree = 0;
my $usemydevtree = 1;
# Protos
sub fatal($);
......@@ -310,24 +310,6 @@ else {
$rspecstr = $profile->CheckFirewall(!$localuser);
}
#
# Sanity check sites
#
if (defined($sitemap)) {
foreach my $siteid (keys(%{ $sitemap })) {
my $manager_urn = $sitemap->{$siteid};
foreach my $oid (keys(%{ $sitemap })) {
next if
($oid eq $siteid);
if ($manager_urn eq $sitemap->{$oid}) {
UserError("You selected the same cluster for two sites.");
}
}
}
}
#
# Update rspec with site aggregate urns.
#
......
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