Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
provider/dummy: remove call to dummy.Reset in init() #5005
Conversation
davecheney
added some commits
Apr 6, 2016
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit e4019e1
into
juju:master
Apr 6, 2016
davecheney
deleted the
davecheney:dummy-cleanup
branch
Apr 6, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
davecheney commentedApr 6, 2016
Remove the call to dummy.Reset in the package's init() function. With
this call removed, we can change the signature of Reset to always take a
gc.C.
Make dummy.Reset take a *gc.C and use that rather than returning an
error (which is frequently ignored).
This also makes the signature of dummy.Reset compatible with
CleanupSuite.AddCleanup.
(Review request: http://reviews.vapour.ws/r/4447/)