Skip to content

Commit

Permalink
chore(deploy): fix sealos version
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Oct 24, 2023
1 parent ba378a6 commit 55c6525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/install-on-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ -x "$(command -v apt)" ]; then
echo "deb [trusted=yes] https://apt.fury.io/labring/ /" | tee /etc/apt/sources.list.d/labring.list
apt update
apt install iptables host -y
apt install sealos -y
apt install sealos=4.3.5 -y

# fix /etc/hosts overwrite bug in ubuntu while restarting
sed -i "/update_etc_hosts/c \\ - ['update_etc_hosts', 'once-per-instance']" /etc/cloud/cloud.cfg && touch /var/lib/cloud/instance/sem/config_update_etc_hosts
Expand All @@ -36,7 +36,7 @@ EOF
# yum update
yum clean all
yum install -y bind-utils iptables
yum install sealos -y
yum install sealos=4.3.5 -y
fi

ARCH=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)
Expand Down
1 change: 0 additions & 1 deletion runtimes/nodejs/src/handler/invoke.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ async function invokeFunction(

let func = FunctionCache.getEngine(ctx.request.params?.name)
if (!func) {
console.log('not found')
func = FunctionCache.getEngine(DEFAULT_FUNCTION_NAME)
if (!func) {
return ctx.response.status(404).send('Function Not Found')
Expand Down

0 comments on commit 55c6525

Please sign in to comment.