juju/gocharm — pull request #3 by rogpeppe (2014-11-11 08:22:23+00:00)
Title: hook: simplify contexts

Rather than passing the context in with the callback,
we provide a way to set the context when the hook
executes.

This means that exactly the same set of objects can
be used at registration time as hook execution time.