-
Notifications
You must be signed in to change notification settings - Fork 543
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
Kf operators use GetReplicaFunc
(Error Handling)
#4471
Kf operators use GetReplicaFunc
(Error Handling)
#4471
Conversation
Signed-off-by: Future Outlier <eric901201@gmai.com>
… kf-operator-use-get-replica-func
… kf-operator-use-get-replica-func Signed-off-by: Future Outlier <eric901201@gmai.com>
GetReplicaFunc
GetReplicaFunc
(Error Handling)
What is the error here that this is fixing? |
Theses 2 places |
Oh, the name indicates the issue is with parsing replica counts. IIUC these should be set by default, so just trying to make sure this function is necessary. With regards to adding the type checking. I can see the advantage of being safe here, but the |
Yes you are right! |
You can consider that use |
… kf-operator-use-get-replica-func Signed-off-by: Future Outlier <eric901201@gmai.com>
…/Future-Outlier/flyte into kf-operator-use-get-replica-func
* fix bug Signed-off-by: Future Outlier <eric901201@gmai.com> * rename Signed-off-by: Future Outlier <eric901201@gmai.com> * rename Signed-off-by: Future Outlier <eric901201@gmai.com> * add test Signed-off-by: Future Outlier <eric901201@gmai.com> * move GetReplicaCount to common package Signed-off-by: Future Outlier <eric901201@gmai.com> * merge Signed-off-by: Future Outlier <eric901201@gmai.com> * merge Signed-off-by: Future Outlier <eric901201@gmai.com> --------- Signed-off-by: Future Outlier <eric901201@gmai.com> Co-authored-by: Future Outlier <eric901201@gmai.com> Co-authored-by: Kevin Su <pingsutw@apache.org> Signed-off-by: Paul Dittamo <pvdittamo@gmail.com>
Describe your changes
GetReplicaFunc
tocommon
packageGetReplicaFunc
, for better error handlingCheck all the applicable boxes
Related PRs
#4469
#4167