-
Notifications
You must be signed in to change notification settings - Fork 363
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
upcoming: [M3-8869] - Update types for NodeBalancer UDP support #11321
base: develop
Are you sure you want to change the base?
upcoming: [M3-8869] - Update types for NodeBalancer UDP support #11321
Conversation
Coverage Report: ✅ |
Cloud Manager UI test results🎉 462 passing tests on test run #9 ↗︎
|
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.
Code review ✅
No regressions observed to existing flow ✅
re: mode
and how it shouldn't be specified when creating a node for a UDP NodeBalancer -- should this be reflected in L54 of nodebalancers.schema.ts
?
"@linode/manager": Tech Stories | ||
--- | ||
|
||
Cleaned up NodeBalancer related types ([#11321](https://github.com/linode/manager/pull/11321)) |
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.
Cleaned up NodeBalancer related types ([#11321](https://github.com/linode/manager/pull/11321)) | |
Clean up NodeBalancer related types ([#11321](https://github.com/linode/manager/pull/11321)) |
const client_conn_throttle = number() | ||
.min( | ||
CONNECTION_THROTTLE.MIN, | ||
`Client Connection Throttle must be between ${CONNECTION_THROTTLE.MIN} and ${CONNECTION_THROTTLE.MAX}.` | ||
) | ||
.max( | ||
CONNECTION_THROTTLE.MAX, | ||
`Client Connection Throttle must be between ${CONNECTION_THROTTLE.MIN} and ${CONNECTION_THROTTLE.MAX}.` | ||
) | ||
.typeError('Client Connection Throttle must be a number.'); | ||
|
||
const client_udp_sess_throttle = number() | ||
.min( | ||
CONNECTION_THROTTLE.MIN, | ||
`UDP Session Throttle must be between ${CONNECTION_THROTTLE.MIN} and ${CONNECTION_THROTTLE.MAX}.` | ||
) | ||
.max( | ||
CONNECTION_THROTTLE.MAX, | ||
`UDP Session Throttle must be between ${CONNECTION_THROTTLE.MIN} and ${CONNECTION_THROTTLE.MAX}.` | ||
) | ||
.typeError('UDP Session Throttle must be a number.'); |
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.
Can put the error messages that are used twice in their own constants
Description 📝
Preview 📷
Note
No UI changes
How to test 🧪
M3-8869
)As an Author, I have considered 🤔
As an Author, before moving this PR from Draft to Open, I confirmed ✅