Skip to content

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

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

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

Conversation

@dseevr

@dseevr dseevr commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

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

@erikh

erikh commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

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

dseevr commented Sep 2, 2016

Copy link
Copy Markdown
Contributor Author

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

erikh commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

If you don't mind; yeah.

@dseevr

dseevr commented Sep 2, 2016

Copy link
Copy Markdown
Contributor Author

Done and passing

@erikh

erikh commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

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

@erikh

erikh commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

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