Skip to content

Commit

Permalink
Surpporting skip_ssl_validation param in login addon
Browse files Browse the repository at this point in the history
  • Loading branch information
xiujiao committed Jun 6, 2018
1 parent 38f16a3 commit 4f89d95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hooks/addon
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ login)

if want_feature self-signed; then
cf api $api_url --skip-ssl-validation
elif [[ "$(lookup params.skip_ssl_validation)" == "true" ]]; then
cf api $api_url --skip-ssl-validation
else
cf api $api_url
fi
Expand Down

0 comments on commit 4f89d95

Please sign in to comment.