Skip to content

Commit

Permalink
feat(sql): Adjust sql jdbc connection params
Browse files Browse the repository at this point in the history
prestaging/main will no longer have primary reads enabled by default.
(profile ordering!)
  • Loading branch information
ajordens committed Jul 8, 2019
1 parent b3e1089 commit 191fd23
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,9 @@ class CompositeStorageService(
private fun isPreviousReadEnabled() = isReadEnabled("previous")

private fun isReadEnabled(type: String) =
dynamicConfigService.getConfig(Boolean::class.java, "spinnaker.migration.compositeStorageService.reads.$type", false)
dynamicConfigService.getConfig(
Boolean::class.java,
"spinnaker.migration.compositeStorageService.reads.$type",
false
)
}

0 comments on commit 191fd23

Please sign in to comment.