File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -84,14 +84,10 @@ update_config_file() {
8484 err_exit " Upgrade aborted: no token found in v2 config"
8585 fi
8686
87- # Extract instance_group if present, ensure only one group
87+ # Extract instance_group if present
8888 instance_group=" "
8989 if [ -f " $AGENT_DYNAMIC_CONFIG_FILE " ] && instance_line=$( grep " instance_group:" " $AGENT_DYNAMIC_CONFIG_FILE " ) ; then
9090 instance_group=$( echo " $instance_line " | cut -d " :" -f 2 | xargs)
91- # Fail if multiple groups detected
92- if echo " $instance_group " | grep -q ' ,' ; then
93- err_exit " Upgrade aborted: multiple Config Sync Groups detected; An instance can join only one Config Sync Group at a time"
94- fi
9591 echo " Migrating existing Config Sync Group: $instance_group "
9692 labels="
9793labels:
You can’t perform that action at this time.
0 commit comments