Skip to content

Commit

Permalink
Added extra remove prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Nov 11, 2021
1 parent b488994 commit 6c4c183
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ParameterStorePathPropertySource(
val props = Properties()
params.forEach {
val name = if (stripPath) it.name.removePrefix(prefix) else it.name
props[name] = it.value
props[name.removePrefix("/")] = it.value
}
props.toNode("aws_parameter_store at $prefix", "/")
}.fold(
Expand Down

0 comments on commit 6c4c183

Please sign in to comment.