intelligentfu8 commented on code in PR #43200:
URL: https://github.com/apache/doris/pull/43200#discussion_r1839300276


##########
docker/runtime/be/resource/be_entrypoint.sh:
##########
@@ -65,6 +76,11 @@ update_conf_from_configmap()
             # make a backup
             mv -f $tgt ${tgt}.bak
         fi
+        if [[ "$conffile" == "be.conf" ]]; then
+             cp $CONFIGMAP_MOUNT_PATH/$conffile $DORIS_HOME/conf/$file
+             add_cluster_info_to_conf
+             continue
+        fi
         ln -sfT $CONFIGMAP_MOUNT_PATH/$conffile $tgt
     done

Review Comment:
   move add_cluster_info_to_conf to here, only one code.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to