Skip to content

Commit

Permalink
fix: typo in openjdk 17 folder name
Browse files Browse the repository at this point in the history
[#186054022]
  • Loading branch information
hsinn0 committed Nov 7, 2023
1 parent 1938190 commit 717c4c3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jobs/credhub/templates/bpm.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
'RUN_DIR' => '/var/vcap/data/run/credhub',
'LOG_DIR' => '/var/vcap/sys/log/credhub',
'TMP_DIR' => '/var/vcap/data/credhub',
'JAVA_HOME' => '/var/vcap/packages/opendjk_17.0/jre',
'JAVA_HOME' => '/var/vcap/packages/openjdk_17.0/jre',
'MAX_HEAP_SIZE' => p('credhub.max_heap_size')
},
'additional_volumes' => [
Expand Down
2 changes: 1 addition & 1 deletion jobs/credhub/templates/credhub.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if p('credhub.data_storage.require_tls') || p('credhub.authentication.uaa.enable
end
%>

export JAVA_HOME='/var/vcap/packages/opendjk_17.0/jre'
export JAVA_HOME='/var/vcap/packages/openjdk_17.0/jre'
export PATH="$JAVA_HOME/bin:$PATH"
export JAVA_TOOL_OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion jobs/credhub/templates/ctl.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare -r max_heap_size=<%= p('credhub.max_heap_size') %>

source $tmp_dir/var-store

export JAVA_HOME=/var/vcap/packages/opendjk_17.0/jre
export JAVA_HOME=/var/vcap/packages/openjdk_17.0/jre
export PATH=$JAVA_HOME/bin:$PATH

LOG_DIR=/var/vcap/sys/log/credhub
Expand Down
2 changes: 1 addition & 1 deletion jobs/credhub/templates/init_key_stores.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail

## BEGIN CERTIFICATE INSTALLATION

export JAVA_HOME=/var/vcap/packages/opendjk_17.0/jre
export JAVA_HOME=/var/vcap/packages/openjdk_17.0/jre
declare -r tmp_dir=/var/vcap/jobs/credhub/tmp

function generate_password() {
Expand Down
2 changes: 1 addition & 1 deletion jobs/credhub/templates/pre-start.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fail_unless_credhub_port_is_open() {

fail_unless_credhub_port_is_open

export JAVA_HOME=/var/vcap/packages/opendjk_17.0/jre
export JAVA_HOME=/var/vcap/packages/openjdk_17.0/jre

chown -R vcap /var/vcap/jobs/credhub/config
chmod -R g-rwx,o-rwx /var/vcap/jobs/credhub/config/*
Expand Down

0 comments on commit 717c4c3

Please sign in to comment.