Open zll600 opened 9 months ago
Now the build-apisix-runtime.sh will report an error if lua-resty-limit-traffic does not exist. https://github.com/api7/apisix-build-tools/blob/6f1a40412fe94eca71286f0a0a91e26dd36b6c6a/build-apisix-runtime.sh#L149-L158
build-apisix-runtime.sh
lua-resty-limit-traffic
we can just keep the content of else branch and remove this check. looks like
else branch
rm -rf bundle/lua-resty-limit-traffic-$or_limit_ver limit_ver=1.0.0 wget "https://github.com/api7/lua-resty-limit-traffic/archive/refs/tags/v$limit_ver.tar.gz" -O "lua-resty-limit-traffic-$limit_ver.tar.gz" tar -xzf lua-resty-limit-traffic-$limit_ver.tar.gz mv lua-resty-limit-traffic-$limit_ver bundle/lua-resty-limit-traffic-$or_limit_ver
Now the
build-apisix-runtime.sh
will report an error iflua-resty-limit-traffic
does not exist. https://github.com/api7/apisix-build-tools/blob/6f1a40412fe94eca71286f0a0a91e26dd36b6c6a/build-apisix-runtime.sh#L149-L158we can just keep the content of
else branch
and remove this check. looks like