mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
Fix: grep https not work
Add space before right braket Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
parent
2eed72c445
commit
0e8436263f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user