Created
October 27, 2016 17:19
-
-
Save mmollaverdi/500194ffff75a649c32b64f21d0d247b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getSystemStatusInfo(id: String): Option[SystemStatusInfo] = { | |
for { | |
system <- systemsMap.get(id) | |
systemStatus <- systemStatusMap.get(id) | |
} yield SystemStatusInfo(system, systemStatus) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment