Defaulting the nodename to 'default'

This commit is contained in:
Viktor Klang 2011-12-25 17:45:55 +01:00
parent cd2dbc0fff
commit fa031bce99
2 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ class RemoteSettings(val config: Config, val systemName: String) extends Extensi
}
val NodeName: String = config.getString("akka.cluster.nodename") match {
case "" throw new ConfigurationException("akka.cluster.nodename configuration property must be defined")
case "" "undefined"
case value value
}