fix(install): ignore clickhouse db exist error

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2022-01-17 17:10:28 +05:30
parent b6dd8622fd
commit 234e709247

View file

@ -19,7 +19,7 @@ function init() {
echo "Initializing clickhouse"
for file in `ls ${clickhousedir}/create/*.sql`; do
echo "Injecting $file"
clickhouse-client -h clickhouse.db.svc.cluster.local --port 9000 < $file
clickhouse-client -h clickhouse.db.svc.cluster.local --port 9000 < $file || true
done
}