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

Improvement ideas and some bug fixes #4

Closed
wants to merge 3 commits into from
Closed

Improvement ideas and some bug fixes #4

wants to merge 3 commits into from

Conversation

ermanimer
Copy link
Contributor

@ermanimer ermanimer commented Jul 29, 2021

  • Ignore error while closing writer
  • Simplify return of the Run method
  • Fix error format in Validate method
  • Clone default HTTP transport instead of creating a new one
  • Remove DisableCompression setting from HTTP client since Statoo accepts gzip encoding
  • Remove unnecessary nil check while closing response body
  • Ignore errors while closing response bodies
  • Fix typos

…lone default http transport instead of creating new one also remove DisableCompression setting since statoo acceps gzip encoding, remove unnecassary nil check while closing response body, ignore error while closing response bodies,
@ermanimer ermanimer closed this Aug 27, 2021
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

1 participant