Skip to content

Commit

Permalink
Fix Local Debug cannot read application ymal
Browse files Browse the repository at this point in the history
  • Loading branch information
peacewong committed Dec 5, 2023
1 parent 12761ee commit 5417072
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions linkis-dist/bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,13 @@ else
fi

if [ "$DISCOVERY" == "NACOS" ]; then
rm -rf $LINKIS_HOME/conf/application-*
mv $LINKIS_HOME/conf/nacos/* $LINKIS_HOME/conf
echo "Use NACOS mode"
else
mv $LINKIS_HOME/conf/eureka/* $LINKIS_HOME/conf
echo "Use EUREKA mode"
fi
rm -rf $LINKIS_HOME/conf/nacos
rm -rf $LINKIS_HOME/conf/eureka

cp ${LINKIS_CONFIG_PATH} $LINKIS_HOME/conf
cp ${LINKIS_DB_CONFIG_PATH} $LINKIS_HOME/conf
Expand Down

0 comments on commit 5417072

Please sign in to comment.