From 2ea64da188616002cd66f94042c1bf91c225e31c Mon Sep 17 00:00:00 2001 From: --global <--global> Date: Mon, 14 Feb 2022 15:44:05 +0100 Subject: [PATCH] fix(migration): validating migration version Signed-off-by: --global <--global> --- scripts/helmcharts/openreplay/files/dbops.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/helmcharts/openreplay/files/dbops.sh b/scripts/helmcharts/openreplay/files/dbops.sh index f5cbb949f..b77fd61ff 100644 --- a/scripts/helmcharts/openreplay/files/dbops.sh +++ b/scripts/helmcharts/openreplay/files/dbops.sh @@ -7,6 +7,7 @@ is_migrate=$1 # Converting alphaneumeric to number. PREVIOUS_APP_VERSION=`echo $PREVIOUS_APP_VERSION | cut -d "v" -f2` +CHART_APP_VERSION=`echo $CHART_APP_VERSION | cut -d "v" -f2` function migration() { ls -la /opt/openreplay/openreplay