mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 07:37:38 +01:00
d328e2586e
Add --ha options when install Harbor. Currently it does nothing.
8 lines
162 B
Bash
8 lines
162 B
Bash
#!/bin/bash
|
|
http_code = `curl -s -o /dev/null -w "%{http_code}" 127.0.0.1`
|
|
if [ $http_code == 200 ] || [ $http_code == 301 ] ; then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|