-
Notifications
You must be signed in to change notification settings - Fork 91
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
config workaround #631
config workaround #631
Conversation
c37ebcf
to
a13e7fa
Compare
namespace: String, | ||
Grpc { | ||
// Useless. Just to make config lib happy. | ||
_dummy: Option<u8>, |
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.
maybe better is to do Grpc(golem_service_base::model::Empty)
, like here
https://github.com/golemcloud/golem/blob/main/golem-component-service-base/src/config.rs#L22
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.
In this case I'll have to replace K8s { namespace: String }
with K8s(K8sMode)
. I'm not sure it worth the refactoring.
WDYT?
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.
not sure, if it change env variables, maybe we can do it later, ..., if not then it should not be big change
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.
Done. It was not as bad as I expected.
a13e7fa
to
63be163
Compare
63be163
to
7868bd9
Compare
No description provided.