mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 10:28:41 +08:00
[skip ci] Update comments to uppercase (#9636)
Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
This commit is contained in:
parent
251ffea494
commit
25c5aa2ad1
@ -86,7 +86,7 @@ function setup_kind_registry() {
|
||||
done
|
||||
}
|
||||
|
||||
# setup_cluster_reg is used to set up a cluster registry for multicluster testing
|
||||
# The setup_cluster_reg is used to set up a cluster registry for multicluster testing
|
||||
function setup_cluster_reg () {
|
||||
MAIN_CONFIG=""
|
||||
for context in "${CLUSTERREG_DIR}"/*; do
|
||||
@ -136,7 +136,7 @@ function gen_kubeconf_from_sa () {
|
||||
EOF
|
||||
}
|
||||
|
||||
# gives a copy of a given topology JSON editing the given key on the entry with the given cluster name
|
||||
# Gives a copy of a given topology JSON editing the given key on the entry with the given cluster name
|
||||
function set_topology_value() {
|
||||
local JSON="$1"
|
||||
local CLUSTER_NAME="$2"
|
||||
@ -145,4 +145,4 @@ function set_topology_value() {
|
||||
VALUE=$(echo "${VALUE}" | awk '{$1=$1};1')
|
||||
|
||||
echo "${JSON}" | jq '(.[] | select(.clusterName =="'"${CLUSTER_NAME}"'") | .'"${KEY}"') |="'"${VALUE}"'"'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user