Merge pull request #7386 from ninjadq/fix_http_scheme_on_install_sh

Fix: grep https not work
This commit is contained in:
Qian Deng 2019-04-17 16:29:35 +08:00 committed by GitHub
commit 85fdf885e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ docker-compose up -d
protocol=http
hostname=reg.mydomain.com
if [ -n "$(grep '^[^#]*https:' ./harbor.yml)"]
if [ -n "$(grep '^[^#]*https:' ./harbor.yml)" ]
then
protocol=https
fi