Skip to content

Conversation

rybit
Copy link
Member

@rybit rybit commented Sep 29, 2020

I was trying to use this for a silly script, I didn't configure any logging parameters and then this started to panic. This should prevent that

@rybit rybit marked this pull request as ready for review September 29, 2020 21:43
@rybit rybit requested a review from a team September 29, 2020 21:43
@rybit rybit added the type: chore work needed to keep the product and development running smoothly label Sep 29, 2020
emilyzhang
emilyzhang previously approved these changes Sep 29, 2020
@rybit
Copy link
Member Author

rybit commented Sep 29, 2020

ok so I was working on this a bit more - but I was struggling with Viper, essentially it was doing the right mapping, but it wouldn't unmarshal properly. This gets rid of that dependency.

@rybit
Copy link
Member Author

rybit commented Sep 29, 2020

This should be transparent:

  • there are no services that use yaml to my knowledge
  • the json parsing should work exactly the same
  • no changes for env files

@rybit rybit requested a review from emilyzhang December 4, 2020 23:21
@rybit rybit merged commit 4b21cdc into master Dec 4, 2020
@rybit rybit deleted the logging-config branch December 4, 2020 23:39
mraerino added a commit that referenced this pull request Dec 18, 2020
mraerino added a commit that referenced this pull request Jan 4, 2021
* Revert "Fix usage of struct tags for config (#203)"

This reverts commit 8d1e696.

* Revert "provide default config for logging (#183)"

This reverts commit 4b21cdc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants