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

a command line utility for silencing #1152

Merged
merged 1 commit into from
Jul 27, 2015
Merged

a command line utility for silencing #1152

merged 1 commit into from
Jul 27, 2015

Conversation

kylebrandt
Copy link
Member

No description provided.

if err != nil {
log.Fatal(err, s)
}
c, err := ioutil.ReadAll(resp.Body)
Copy link
Contributor

Choose a reason for hiding this comment

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

defer resp.Body.Close()

Not really required in such a short app, but a good habit nonetheless.

@captncraig
Copy link
Contributor

LGTM

kylebrandt added a commit that referenced this pull request Jul 27, 2015
cmd/silence: a command line utility for silencing
@kylebrandt kylebrandt merged commit 1064381 into master Jul 27, 2015
@kylebrandt kylebrandt deleted the silenceCMDTwo branch July 27, 2015 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants