-
Notifications
You must be signed in to change notification settings - Fork 95
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: Raise Error Log when Uplink/Downlink AMBR missing unit #113
Conversation
Thanks for your PR. @andy89923 |
Hi @ianchen0119, lint issue is fixed. Please approve the workflows. |
Hi @ntut-xuan, Thanks for the PR! Overall it's LGTM, but I think we should add Test for the function under Could you help with the test function? Or I can provide test function and you help with the testcase. |
No problem. I'll add it soon. |
Hi @ianchen0119 and @andy89923: I already add the tests and check the implementation passed lint-chcek. Since we don't have a folder of tests, I add a folder |
e5b523b
to
cb6bcb2
Compare
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.
LGTM!
@ianchen0119
What's happened?
Hi, I'm Uriah from NYCU Room 215 😄
In this PR, I fix when Uplink/Downlink AMBR in webconsole subscriber page doesn't have unit, it will rasie panic in free5gc SMF.
In above image, the Uplink/Downlink AMBR doesn't have unit (Mbps or Kbps), it will make free5gc raise panic in below image.
I add error handling in
BitRateTokbps
function and raise Error inActivateTunnelAndPDR
function whenBitRateTokbps
function raise the error.Implmentation
ActivateTunnelAndPDR
How to review?