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

Begin converting log to zerolog #54

Merged
merged 6 commits into from
Nov 29, 2023
Merged

Begin converting log to zerolog #54

merged 6 commits into from
Nov 29, 2023

Conversation

poundifdef
Copy link
Contributor

No description provided.

@poundifdef poundifdef mentioned this pull request Nov 27, 2023
importer/importer.go Outdated Show resolved Hide resolved
@chumaumenze chumaumenze marked this pull request as ready for review November 29, 2023 06:32
@chumaumenze chumaumenze self-requested a review November 29, 2023 06:32
@@ -182,8 +181,7 @@ func (m *DefaultUserManager) AddUser(userIdentifier string) error {
// TODO: let the user be able to have some shards with replicas and
// others without if they really want to
if len(replicas)%len(shards) != 0 {
log.Println("each shard must have the same number of replicas")
os.Exit(1)
log.Fatal().Msg("each shard must have the same number of replicas")
Copy link
Contributor

Choose a reason for hiding this comment

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

I intentionally left out some print statements in this file.

@poundifdef poundifdef merged commit 26984c4 into main Nov 29, 2023
@poundifdef poundifdef deleted the json-logs branch November 29, 2023 14:51
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

2 participants