Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug修复 #20

Merged
merged 2 commits into from
Dec 8, 2023
Merged

bug修复 #20

merged 2 commits into from
Dec 8, 2023

Conversation

kylin987
Copy link
Contributor

@kylin987 kylin987 commented Dec 8, 2023

感谢您这两天在webman上面的解答,再次感谢
升级到1.2.3后,出现了2个bug
1、InstanceRegistrarProcess的第54行的判断,逻辑正好相反,判断临时实例,是用true,而不是false。
2、因为默认的app.php文件中ephemeral的值还是字符串类型。
InstanceRegistrarProcess还是这个文件,第56行的list($serviceName, $ip, $port, $option) = $this->instanceRegistrars[$name];
会导致,前面$option['ephemeral']转换成的布尔值,再次被换成字符串,进而导致InstanceProvider文件的beat方法报错,因为第5个参数ephemeral需要是布尔值
该pr已经尝试修复了上述问题,谢谢

@chaz6chez
Copy link
Member

不好意思,写的时候写急了,哈哈哈

@chaz6chez chaz6chez merged commit 6c0e328 into workbunny:main Dec 8, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants