Permalink
Browse files

Allow a host to add itself as a master host of itself, as the descrip…

…tion says you can.

Yay recursion.
  • Loading branch information...
1 parent 4968914 commit d48dd1d88995a9c5c41dee300b2520ab1be3976f @rolfbjarne rolfbjarne committed Feb 22, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 MonkeyWrench.Web.UI/EditHost.aspx.cs
@@ -157,8 +157,6 @@ protected override void OnInit (EventArgs e)
}
foreach (DBHost host in response.Hosts) {
- if (host.id == response.Host.id)
- continue; // don't add self
if (response.MasterHosts.Find (d => host.id == d.id) != null)
continue; // don't add master hosts already added
if (response.SlaveHosts.Find (d => host.id == d.id) != null)

0 comments on commit d48dd1d

Please sign in to comment.