Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7f32649

Browse files
authored
Fix data migration tables.d marker (#189)
1 parent 8636b29 commit 7f32649

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎charts/questdb/templates/init_db_migrations_configmap.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ data:
1414
SOURCE_DIR="/mnt/questdb"
1515
DEST_DIR="db"
1616
TEMP_DIR="db_helm_migration_1_tmp_$(date +"%Y%m%d%H%M%S")"
17-
MARKER="tables.d.0"
17+
MARKER="tables.d.*"
1818
1919
cd $SOURCE_DIR
2020
21-
if [[ ! -e $MARKER ]] ; then
21+
if [[ -z $(ls $MARKER 2>/dev/null) ]] ; then
2222
echo "File '$MARKER' not found. Nothing to move."
2323
exit 0
2424
fi

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /