mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
Fix -d flag for meta migration script (#19975)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com> Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
This commit is contained in:
parent
94c15a49e9
commit
8d09bb8d8e
@ -12,8 +12,9 @@ remove_migrate_pod_after_migrate="false"
|
|||||||
#-t target_version: The milvus target version.
|
#-t target_version: The milvus target version.
|
||||||
#-r root_path: The milvus meta root path.
|
#-r root_path: The milvus meta root path.
|
||||||
#-w image_tag: The new milvus image tag.
|
#-w image_tag: The new milvus image tag.
|
||||||
#-o operation: The operation: migrate/rollback
|
#-o operation: The operation: migrate/rollback.
|
||||||
while getopts "n:i:s:t:r:w:o" opt_name
|
#-d remove_migrate_pod_after_migrate: Remove migration pod after successful migration.
|
||||||
|
while getopts "n:i:s:t:r:w:o:d" opt_name
|
||||||
do
|
do
|
||||||
case $opt_name in
|
case $opt_name in
|
||||||
n) namespace=$OPTARG;;
|
n) namespace=$OPTARG;;
|
||||||
@ -23,7 +24,7 @@ do
|
|||||||
r) root_path=$OPTARG;;
|
r) root_path=$OPTARG;;
|
||||||
w) image_tag=$OPTARG;;
|
w) image_tag=$OPTARG;;
|
||||||
o) operation=$OPTARG;;
|
o) operation=$OPTARG;;
|
||||||
d) remove_migrate_pod_after_migrate=$OPTARG;;
|
d) remove_migrate_pod_after_migrate="true";;
|
||||||
*) echo "Unkonwen parameters";;
|
*) echo "Unkonwen parameters";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user