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

fix: Fix some issues with existing code #2

Merged
merged 3 commits into from
Jan 26, 2024
Merged

Conversation

denisonbarbosa
Copy link
Member

@denisonbarbosa denisonbarbosa commented Jan 22, 2024

Some tests that were not marked to fail were failing, so I took a look to understand why. Details for each fix are explained in the commit messages.

@denisonbarbosa denisonbarbosa marked this pull request as ready for review January 22, 2024 11:30
@denisonbarbosa denisonbarbosa requested a review from a team as a code owner January 22, 2024 11:30
Copy link
Member

@didrocks didrocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change requested and one question!

cmd/oidc-broker/daemon/daemon.go Outdated Show resolved Hide resolved
internal/brokerservice/brokerservice.go Show resolved Hide resolved
cmd/oidc-broker/main.go Outdated Show resolved Hide resolved
Copy link
Member

@didrocks didrocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still one to go and we’re good!

Copy link
Member

@didrocks didrocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good!

The daemon used to rely on the executable name to define its internal
name. This is far from ideal when dealing with tests (especially in
parallel). Now, the New() function takes a name argument that allows
setting a custom name for the daemon. This is very useful for tests.
This is a broker daemon, it should only know about its configuration and
not about the general broker configuration directory
@denisonbarbosa denisonbarbosa merged commit f41a1b1 into main Jan 26, 2024
2 of 3 checks passed
@denisonbarbosa denisonbarbosa deleted the daemon-fixes branch January 26, 2024 12:16
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.

2 participants