Remove double entry for localhost on machines status page

This commit is contained in:
Eelco Dolstra 2015-08-26 13:01:45 +02:00
parent 7aa52517e9
commit 88d7eb5247

View file

@ -110,6 +110,7 @@ sub machines :Local Args(0) {
# Add entry for localhost. # Add entry for localhost.
${$machines}{''} //= {}; ${$machines}{''} //= {};
delete ${$machines}{'localhost'};
$c->stash->{machines} = $machines; $c->stash->{machines} = $machines;
$c->stash->{steps} = [ $c->model('DB::BuildSteps')->search( $c->stash->{steps} = [ $c->model('DB::BuildSteps')->search(