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

chore: add error handling around reported areas from golangci-lint #147

Merged
merged 5 commits into from
Jan 25, 2021
Merged

chore: add error handling around reported areas from golangci-lint #147

merged 5 commits into from
Jan 25, 2021

Conversation

garethjevans
Copy link
Contributor

No description provided.

@olblak
Copy link
Member

olblak commented Jan 25, 2021

\o/ Thanks for this

tmp.Clean()
return err
err = tmp.Clean()
return
Copy link
Member

Choose a reason for hiding this comment

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

That's interesting that you use the implicit return, without specifying return err

@@ -42,13 +42,6 @@ func (g *Github) Changelog(name string) (string, error) {

client := g.NewClient()

type release struct {
Copy link
Member

Choose a reason for hiding this comment

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

I have to double check because I think it's needed for the gaphql calll

@olblak olblak added the bug Something isn't working label Jan 25, 2021
olblak and others added 3 commits January 25, 2021 15:42
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
@olblak
Copy link
Member

olblak commented Jan 25, 2021

I have to slightly modify your PR, initially I wasn't correctly handling Dockerhub response and with your PR, it correctly fail :p

@olblak olblak merged commit ba8713d into updatecli:master Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants