Skip to content

Commit c32cfee

Browse files
committed
feat: Adjust the setting
1 parent b118ae2 commit c32cfee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jobs/bbr-postgres-db/templates/config.sh.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if_link("database") do |data|
2020
port = data.p("databases.port")
2121
databases = data.p("databases.databases")
2222
end
23-
current_version=p("databases.version")
2423
%>
24+
current_version="<%=p('databases.version')%>"
2525
JOB_DIR="/var/vcap/jobs/bbr-postgres-db"
2626
PACKAGE_DIR="/var/vcap/packages/postgres-${current_version%.*}"
2727
PORT="<%= port %>"

jobs/postgres/templates/pgconfig.sh.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -x # if you want tracing disabled, set 'databases.enable_traces: false' in t
66
ENABLE_TRACE=0
77
# set -x # uncomment it if you want to enable tracing in all control scripts
88
<% end %>
9-
current_version=p("databases.version")
9+
current_version="<%=p('databases.version')%>"
1010
pgversion_current="postgres-${current_version}"
1111

1212
JOB_DIR=/var/vcap/jobs/postgres

0 commit comments

Comments
 (0)