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 NatsRegistry #8281

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

kobergj
Copy link
Collaborator

@kobergj kobergj commented Jan 24, 2024

Fixes a rather strange issue with the natsjskv registry.

Thanks @butonic @rhafer @dragonchaser @fschade for the help in debugging this!

}

func getAuth() (string, string) {
return os.Getenv(_registryUsernameEnv), os.Getenv(_registryPasswordEnv)
Copy link
Member

Choose a reason for hiding this comment

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

Not a blocker but ugly. I am aware that it only works this way :/

Copy link

sonarcloud bot commented Jan 24, 2024

Copy link
Contributor

@fschade fschade left a comment

Choose a reason for hiding this comment

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

nice changelog 🤣

Bugfix: Fix nats registry

The nats registry would behave badly when configuring `nats-js-kv` via envvar. Reason is the way go-micro initializes.
It took 5 developers to find the issue and the fix so the details cannot be shared here. Just accept that it is working now
Copy link
Contributor

Choose a reason for hiding this comment

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

🙈

@fschade fschade enabled auto-merge (squash) January 24, 2024 16:12
@fschade fschade merged commit 46af9cc into owncloud:master Jan 24, 2024
3 checks passed
ownclouders pushed a commit that referenced this pull request Jan 24, 2024
@kobergj kobergj deleted the FixNatsRegistryConfiguration branch January 24, 2024 16:39
@micbar micbar mentioned this pull request Jan 26, 2024
71 tasks
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.

None yet

5 participants