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

Use common/version and common/log packages #44

Merged
merged 1 commit into from May 4, 2016

Conversation

discordianfish
Copy link
Member

@discordianfish discordianfish commented May 4, 2016

Closes #38

@@ -265,7 +265,7 @@ func (b *Exporter) Listen(e <-chan Events) {
eventStats.WithLabelValues("timer").Inc()

default:
log.Println("Unsupported event type")
log.Infoln("Unsupported event type")
Copy link
Member

Choose a reason for hiding this comment

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

This should we Warnln or Errorln.

err = mapper.initFromFile(fileName)
if err != nil {
log.Println("Error reloading config:", err)
log.Infoln("Error reloading config:", err)
Copy link
Member

Choose a reason for hiding this comment

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

Error or Warn

@grobie
Copy link
Member

grobie commented May 4, 2016

👍

@discordianfish discordianfish merged commit 1710048 into master May 4, 2016
@discordianfish discordianfish deleted the fish/use-version-package branch May 4, 2016 21:36
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