Skip to content

Commit

Permalink
Fixed error in validate hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
akunft committed Jul 13, 2015
1 parent a599852 commit fe4391c
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ class ValidateHosts extends Command {
logger.info(s"Validating configuration for experiment '${exp.name}'")

val config = exp.config
val systems = for (n <- graph.reverse.traverse(); if graph.descendants(exp).contains(n)) yield n match {
case x: System => x
}
val systems = for (
n <- graph.reverse.traverse()
if graph.descendants(exp).contains(n) && n.isInstanceOf[System]
) yield n.asInstanceOf[System]

// gather masters, avoid duplicates
val masters = {
Expand Down

0 comments on commit fe4391c

Please sign in to comment.