Skip to content

Commit

Permalink
feat: Adjust the setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ZPascal committed Nov 27, 2023
1 parent b118ae2 commit c32cfee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jobs/bbr-postgres-db/templates/config.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ if_link("database") do |data|
port = data.p("databases.port")
databases = data.p("databases.databases")
end
current_version=p("databases.version")
%>
current_version="<%=p('databases.version')%>"
JOB_DIR="/var/vcap/jobs/bbr-postgres-db"
PACKAGE_DIR="/var/vcap/packages/postgres-${current_version%.*}"
PORT="<%= port %>"
Expand Down
2 changes: 1 addition & 1 deletion jobs/postgres/templates/pgconfig.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -x # if you want tracing disabled, set 'databases.enable_traces: false' in t
ENABLE_TRACE=0
# set -x # uncomment it if you want to enable tracing in all control scripts
<% end %>
current_version=p("databases.version")
current_version="<%=p('databases.version')%>"
pgversion_current="postgres-${current_version}"

JOB_DIR=/var/vcap/jobs/postgres
Expand Down

0 comments on commit c32cfee

Please sign in to comment.