Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pferrel committed Oct 1, 2015
1 parent 369b573 commit 639f30e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/src/main/scala/io/prediction/data/storage/Storage.scala
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,10 @@ object Storage extends Logging {

/** Get the StorageClient config data from PIO Framework's environment variables */
def getConfig(sourceName: String): Option[StorageClientConfig] = {
if (s2cm.contains(sourceName) && s2cm.get(sourceName).nonEmpty && s2cm.get(sourceName).get.nonEmpty)
if (s2cm.contains(sourceName) && s2cm.get(sourceName).nonEmpty
&& s2cm.get(sourceName).get.nonEmpty) {
Some(s2cm.get(sourceName).get.get.config)
else None
} else None
}

private def updateS2CM(k: String, parallel: Boolean, test: Boolean):
Expand Down

0 comments on commit 639f30e

Please sign in to comment.