Skip to content

*: fix assignments to make the new version of ineffassign happy#455

Merged
erikh merged 1 commit intocontiv-experimental:masterfrom
dseevr:ineffassign_fix
Sep 2, 2016
Merged

*: fix assignments to make the new version of ineffassign happy#455
erikh merged 1 commit intocontiv-experimental:masterfrom
dseevr:ineffassign_fix

Conversation

@dseevr
Copy link
Contributor

@dseevr dseevr commented Sep 2, 2016

This fixes all the issues which the new version of ineffassign is complaining about.

@erikh
Copy link
Contributor

erikh commented Sep 2, 2016

oh, this is because ineffassign got bug fixes in IT that caused it to detect new ones. I ran into this the other night preparing the DB patch.

@dseevr
Copy link
Contributor Author

dseevr commented Sep 2, 2016

Ahh, that explains... and because we have to invoke ineffassign once for each dir, it was just bailing on the first error.

Do you want me to tidy up all the spots it's complaining about and update the PR?

Signed-off-by: Bill Robinson <dseevr@users.noreply.github.com>
@dseevr dseevr changed the title db/test/etcd_test.go: fix an assignment ineffassign is complaining about *: fix assignments to make the new version of ineffassign happy Sep 2, 2016
@erikh
Copy link
Contributor

erikh commented Sep 2, 2016

If you don't mind; yeah.

@dseevr
Copy link
Contributor Author

dseevr commented Sep 2, 2016

Done and passing

@erikh
Copy link
Contributor

erikh commented Sep 2, 2016

hmm; I made several of these fixes already in the db patch but I guess I can rebase them out

@erikh
Copy link
Contributor

erikh commented Sep 2, 2016

LGTM. Simple enough that I'm just going to merge it.

@erikh erikh merged commit e7877ff into contiv-experimental:master Sep 2, 2016
@dseevr dseevr deleted the ineffassign_fix branch September 2, 2016 22:50
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.

2 participants