Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants