Skip to content

Conversation

@dexhorthy
Copy link
Contributor

No description provided.

@dexhorthy dexhorthy changed the title restore method that got dropped due in merge conflict restore method that got dropped due to merge conflict Aug 10, 2020
func (c *HTTPClient) HTTPGet(path string, successStatus int) ([]byte, error) {

endpoint := fmt.Sprintf("%s%s", c.apiOrigin, path)
var buf bytes.Buffer
Copy link
Member

Choose a reason for hiding this comment

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

cant you just pass in nil here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh good catch

@dexhorthy dexhorthy merged commit 17ab836 into master Aug 10, 2020
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.

3 participants