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

add powered by rake badge #11

Merged
merged 2 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @vigo
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
![Docker Pulls](https://img.shields.io/docker/pulls/vigo/statoo)
![Docker Size](https://img.shields.io/docker/image-size/vigo/statoo)
![Docker Build Status](https://github.com/vigo/statoo/actions/workflows/dockerhub.yml/badge.svg)
![Powered by Rake](https://img.shields.io/badge/powered_by-rake-blue?logo=ruby)


# Statoo

Expand Down
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ func trimSpaces(s []string) {

func flagUsage(code int) func() {
return func() {
// flag.PrintDefaults()
fmt.Fprintf(
os.Stdout,
usage,
Expand Down Expand Up @@ -306,6 +305,8 @@ func (c *CLIApplication) GetResult() error {
return nil
}

_, _ = io.Copy(io.Discard, resp.Body)

if *OptVerboseOutput {
fmt.Fprintf(c.Out, "%s -> ", ArgURL)
}
Expand Down
Loading