Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f12c0eb

Browse files
committed
remove unnecessary conditional stmt
1 parent f470473 commit f12c0eb

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

deploy-apps/deploy-app.html.md.erb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,8 @@ You can configure the `cf push` command to run custom initialization tasks for
188188
These tasks run after <%= vars.app_runtime_abbr %> loads the app droplet but before it starts the app to allow the initialization script to access the app language runtime environment. For example, your script can map values from `$VCAP_SERVICES` into other environment variables or a config file that the app uses.
189189

190190
<div class="note important">
191-
The following notes include important information about configuring app initialization when you use certain buildpacks:
191+
See the following important information about configuring app initialization when you use certain buildpacks:
192192
<ul>
193-
<li><strong>Java:</strong> Initialization scripts for the Java buildpack require additional configuration.
194-
<% if vars.platform_code != 'CF' %> For more information, see
195-
<a href="https://community.pivotal.io/s/article/how-to-modify-the-application-container-environment-prior-to-application-execution?language=en_US">How to Modify the Application Container Environment prior to Application Execution</a> in the VMware Tanzu Knowledge Base.
196-
<% end %>
197-
</li>
198193
<li><strong>PHP:</strong> <%= vars.app_runtime_abbr %> does not support initialization scripts for the PHP buildpack versions prior to v4.3.18. If you use
199194
one of these buildpack versions, your app hosts the <code>.profile</code> script's contents. This means that any app staged using the affected buildpack
200195
versions can leak credentials placed in the <code>.profile</code> script.
@@ -206,7 +201,7 @@ To run initialization tasks:
206201

207202
1. Create a `.profile` script that contains the initialization tasks.
208203

209-
1. Save the `.profile` script to the directory where you run the `cf push` command.
204+
2. Save the `.profile` script to the directory where you run the `cf push` command.
210205

211206
The following example `.profile` file uses `bash` to set a value for the environment variable `LANG`:
212207

0 commit comments

Comments
 (0)