Skip to content

Commit

Permalink
fix: bring back double dollar signs in template
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioHeredia committed Sep 26, 2024
1 parent 7a103f0 commit 43924db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/tools/ai4os-cvat/nomad.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -503,10 +503,10 @@ job "tool-cvat-${JOB_UUID}" {
template {
data = <<-EOF
#!/bin/bash
CLICKHOUSE_DB="$${CLICKHOUSE_DB:-cvat}";
clickhouse-client --query "CREATE DATABASE IF NOT EXISTS $${CLICKHOUSE_DB};"
CLICKHOUSE_DB="$$$${CLICKHOUSE_DB:-cvat}";
clickhouse-client --query "CREATE DATABASE IF NOT EXISTS $$$${CLICKHOUSE_DB};"
echo "
CREATE TABLE IF NOT EXISTS $${CLICKHOUSE_DB}.events
CREATE TABLE IF NOT EXISTS $$$${CLICKHOUSE_DB}.events
(
\`scope\` String NOT NULL,
\`obj_name\` String NULL,
Expand Down

0 comments on commit 43924db

Please sign in to comment.