Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

gps: ./hack/lint.bash fixes #1217

Merged
merged 2 commits into from
Sep 24, 2017
Merged

gps: ./hack/lint.bash fixes #1217

merged 2 commits into from
Sep 24, 2017

Conversation

jmank88
Copy link
Collaborator

@jmank88 jmank88 commented Sep 24, 2017

What does this do / why do we need it?

This PR fixes ./hack/lint.bash failures, by directly returning errors and removing ignoring unused functions/types from prune.go.

Do you need help or clarification on anything?

Should the errors be wrapped?

@sdboyer
Copy link
Member

sdboyer commented Sep 24, 2017

we just added the prune funcs - I don't know why the linters are complaining about unused exported funcs (also, wait what, I thought we had tests for those funcs), but we need to keep those. if we have failures, we need to add exceptions for them to the linters, not remove the code

@sdboyer
Copy link
Member

sdboyer commented Sep 24, 2017

the other change is 👍 though

@jmank88
Copy link
Collaborator Author

jmank88 commented Sep 24, 2017

I don't know why the linters are complaining about unused exported funcs

Because they are internal?

@sdboyer
Copy link
Member

sdboyer commented Sep 24, 2017 via email

@jmank88
Copy link
Collaborator Author

jmank88 commented Sep 24, 2017

@ibrasho
Copy link
Collaborator

ibrasho commented Sep 24, 2017

(also, wait what, I thought we had tests for those funcs)

I knew something was missing... 🤦‍♂️

@jmank88 jmank88 merged commit ceb67da into golang:master Sep 24, 2017
@jmank88 jmank88 deleted the lint branch September 24, 2017 14:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants