replace find vs findone #101

Merged
merged 3 commits into from Dec 1, 2016

Conversation

Projects
None yet
3 participants
Contributor

AlexandreAbreu commented Nov 25, 2016

FindOne() has the right semantics for this, it does an exact search based on the name and in the store

dbarth commented Nov 28, 2016

Makes sense afaict.
Check the go test failures also.

dbarth commented Nov 28, 2016

@mvo5 can you confirm that the FindOne API is a good choice (current, deprecated?) ? Thanks

Contributor

mvo5 commented Dec 1, 2016

Yes, AFAICS in your code, this is what you want to use.

Contributor

mvo5 commented Dec 1, 2016

👍

@dbarth dbarth merged commit 9546f41 into snapcore:master Dec 1, 2016

1 of 2 checks passed

coverage/coveralls Coverage decreased (-0.08%) to 60.806%
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment