-
Notifications
You must be signed in to change notification settings - Fork 610
[refactor][2/N] Move UnmarshalRuntimeEnvYAML
to utils.go
#3991
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
base: master
Are you sure you want to change the base?
[refactor][2/N] Move UnmarshalRuntimeEnvYAML
to utils.go
#3991
Conversation
Signed-off-by: You-Cheng Lin (Owen) <[email protected]>
UnmarshalRuntimeEnvYAML
to utilsUnmarshalRuntimeEnvYAML
to utils
UnmarshalRuntimeEnvYAML
to utilsUnmarshalRuntimeEnvYAML
to utils.go
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.
Based on our discussion yesterday, we should not move UmarshalRuntimeEnvYAML
to util.go
in order to avoid importing ray/utils
(which also imports controller-runtime) into dashboard_httpclient.go
.
@kevin85421 Sorry I got mixed up, but after second thought, kuberay/ray-operator/controllers/ray/utils/validation.go Lines 193 to 198 in edf7de8
|
How about moving |
Signed-off-by: You-Cheng Lin (Owen) <[email protected]>
Signed-off-by: You-Cheng Lin (Owen) <[email protected]>
@kevin85421, How about moving it to
|
Why are these changes needed?
UnmarshalRuntimeEnvYAML
doesn't depend ondashboard_httpvlient
, so move to utils.goRelated issue number
Checks