-
Notifications
You must be signed in to change notification settings - Fork 669
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 <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
… kf-operator-use-get-replica-func
… kf-operator-use-get-replica-func Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
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 <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
…/Future-Outlier/flyte into kf-operator-use-get-replica-func
* fix bug Signed-off-by: Future Outlier <[email protected]> * rename Signed-off-by: Future Outlier <[email protected]> * rename Signed-off-by: Future Outlier <[email protected]> * add test Signed-off-by: Future Outlier <[email protected]> * move GetReplicaCount to common package Signed-off-by: Future Outlier <[email protected]> * merge Signed-off-by: Future Outlier <[email protected]> * merge Signed-off-by: Future Outlier <[email protected]> --------- Signed-off-by: Future Outlier <[email protected]> Co-authored-by: Future Outlier <[email protected]> Co-authored-by: Kevin Su <[email protected]> Signed-off-by: Paul Dittamo <[email protected]>
Describe your changes
GetReplicaFunc
tocommon
packageGetReplicaFunc
, for better error handlingCheck all the applicable boxes
Related PRs
#4469
#4167