Skip to content

Commit

Permalink
Merge pull request kubernetes#246 from satnam6502/master
Browse files Browse the repository at this point in the history
Fix a minor typo in the README.md file.
  • Loading branch information
vishh committed Sep 22, 2014
2 parents 195772a + 87768a0 commit 7663955
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ cAdvisor aims to improve the resource usage and performance characteristics of r

## Community

Contributions, questions, and comments are all welcomed and encouraged! cAdvisor developers hand out in [#google-containers](http://webchat.freenode.net/?channels=google-containers) room on freenode.net. We also have the [google-containers Google Groups mailing list](https://groups.google.com/forum/#!forum/google-containers).
Contributions, questions, and comments are all welcomed and encouraged! cAdvisor developers hang out in [#google-containers](http://webchat.freenode.net/?channels=google-containers) room on freenode.net. We also have the [google-containers Google Groups mailing list](https://groups.google.com/forum/#!forum/google-containers).
3 changes: 1 addition & 2 deletions api/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ func getContainerInfoRequest(body io.ReadCloser) (*info.ContainerInfoRequest, er
query.NumStats = 64

decoder := json.NewDecoder(body)
err := decoder.Decode(&query)
if err != nil && err != io.EOF {
if err := decoder.Decode(&query); err != nil && err != io.EOF {
return nil, fmt.Errorf("unable to decode the json value: %s", err)
}

Expand Down

0 comments on commit 7663955

Please sign in to comment.