Skip to content

Commit

Permalink
Merge pull request #16 from hmrc/SKIP_WSO2_CONFIG
Browse files Browse the repository at this point in the history
Fix skip-wso2 config
  • Loading branch information
d6fb authored Mar 7, 2019
2 parents 0816cfd + c0094bd commit 2a54c58
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ class ApiStorageConfigProvider @Inject()(val runModeConfiguration: Configuration
override protected def mode = environment.mode

override def get() = {
val skipWso2 = getConfBool("skipWso2", defBool = false)
val skipWso2 =
runModeConfiguration.getBoolean(s"$env.skipWso2").
getOrElse(runModeConfiguration.getBoolean("skipWso2").
getOrElse(false))
ApiStorageConfig(skipWso2)
}
}
Expand Down

0 comments on commit 2a54c58

Please sign in to comment.