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

fix: command CONFIG SET * reply array length error(#2320) #2323

Closed

Conversation

578223592
Copy link
Contributor

@578223592 578223592 commented Jan 16, 2024

#2320
1.修复结果:
image

2.统一了该命令的回复方式,统一使用成员变量res_回复,由于不需要返回值对应修改了ConfigSet方法的签名

3.修复了AppendStringVector的回复值
4.疑问:

// Remember to sync change PikaConf::ConfigRewrite();

中表示要与rewrite同步,但是检查后发现configsetconfigrewrite方法并没有完全同步,这正常吗?
5.疑问:延续2,是否要继续修改ConfigCmd::Do方法中用到的其他方法的签名,统一成ConfigSet的返回形式(用res_成员变量返回)?

@github-actions github-actions bot added the ☢️ Bug Something isn't working label Jan 16, 2024
@578223592 578223592 changed the title fix: command CONFIG SET * reply array length error(#2320) fix: command CONFIG SET * reply array length error(#2320) Jan 16, 2024
@578223592 578223592 marked this pull request as ready for review January 16, 2024 06:27
@578223592
Copy link
Contributor Author

当我运行
image
很多文件发生了格式调整,我应该采用哪一种格式化方式?

@AlexStocks
Copy link
Collaborator

文件冲突太多,建议重新提交 pr

@AlexStocks AlexStocks closed this Jan 19, 2024
@578223592 578223592 deleted the fix_config_set__cmd branch January 21, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants