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) #2336

Merged
merged 4 commits into from
Jan 21, 2024

Conversation

578223592
Copy link
Contributor

#2320
1.修复结果:

image

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

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

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

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

@github-actions github-actions bot added the ☢️ Bug Something isn't working label Jan 20, 2024
@AlexStocks AlexStocks requested review from lqxhub and Mixficsol and removed request for lqxhub January 20, 2024 09:24
@lqxhub
Copy link
Collaborator

lqxhub commented Jan 20, 2024

这个这样修改是OK的

5.疑问:延续2,是否要继续修改ConfigCmd::Do方法中用到的其他方法的签名,统一成ConfigSet的返回形式(用res_成员变量返回)?
这个命令返回没有错误的话,可以先不动, 如果想做的话, 再开一下新的pr去搞也行

@AlexStocks AlexStocks merged commit ce938d5 into OpenAtomFoundation:unstable Jan 21, 2024
12 of 13 checks passed
@578223592 578223592 deleted the fix_config_set_new branch January 21, 2024 13:41
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
…#2320) (OpenAtomFoundation#2336)

* fix

* change ConfigCmd::ConfigSet return way

* func ConfigCmd::ConfigSet use res_ to get return value
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
…#2320) (OpenAtomFoundation#2336)

* fix

* change ConfigCmd::ConfigSet return way

* func ConfigCmd::ConfigSet use res_ to get return value
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.

3 participants