Skip to content
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

Merged
merged 1 commit into from
Jul 2, 2024
Merged

config workaround #631

merged 1 commit into from
Jul 2, 2024

Conversation

senia-psm
Copy link
Contributor

No description provided.

@senia-psm senia-psm force-pushed the config_workaround branch 2 times, most recently from c37ebcf to a13e7fa Compare July 1, 2024 17:11
namespace: String,
Grpc {
// Useless. Just to make config lib happy.
_dummy: Option<u8>,
Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

@justcoon justcoon Jul 1, 2024

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

Copy link
Contributor Author

@senia-psm senia-psm Jul 1, 2024

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.

@senia-psm senia-psm force-pushed the config_workaround branch from a13e7fa to 63be163 Compare July 1, 2024 17:41
@senia-psm senia-psm enabled auto-merge (squash) July 1, 2024 17:42
@senia-psm senia-psm force-pushed the config_workaround branch from 63be163 to 7868bd9 Compare July 2, 2024 09:43
@senia-psm senia-psm merged commit f768b88 into main Jul 2, 2024
13 checks passed
@senia-psm senia-psm deleted the config_workaround branch July 2, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants