fix(install): ignore clickhouse db exist error
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
parent
b6dd8622fd
commit
234e709247
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue