totally the wrong way to use Some

Some(null) is still Some, which is not None. whoops

closes #3033
This commit is contained in:
payonel 2019-02-01 00:22:45 -08:00
parent 18461f37f8
commit ef4f7417b3

View File

@ -293,7 +293,7 @@ object TerminalServer {
def find(address: String): Option[TerminalServer] = {
completePending()
Some(ready.getOrDefault(address, null))
ready.get(address)
}
}
}