-
Notifications
You must be signed in to change notification settings - Fork 274
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
[swss-common] Remove object type argument from json array() constructor call #466
Conversation
…or call. Default value set to value_t::array in constructor. Issue: sonic-net/sonic-sairedis#801 Signed-off-by: Rajkumar Pennadam Ramamoorthy <rpennadamram@marvell.com>
@kcudnik . Please review. |
return basic_json(init, false, value_t::array); | ||
return basic_json(init, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is interesting, since array type was explicitly passed as argument, can you also add unittest for that scenario that was causing crash ? in this repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added an UT case in file, json_ut.cpp.
…or call. Default value set to value_t::array in constructor. Issue: sonic-net/sonic-sairedis#801 Signed-off-by: Rajkumar Pennadam Ramamoorthy <rpennadamram@marvell.com>
Pls hold on this PR. |
please diagnose and add those crashes to unittests here also when fixed |
this one also after verification, could be closed, since issue is most likely related to cross compiler issues on armhf |
closing, as this is no longer needed since issue 801 was resolved |
Default value set to value_t::array in constructor.
Issue: sonic-net/sonic-sairedis#801
Signed-off-by: Rajkumar Pennadam Ramamoorthy rpennadamram@marvell.com