On 24 April 2015 at 14:33, Vasiliy Tolstov <[email protected]> wrote: > 2015-04-23 20:31 GMT+03:00 roger peppe <[email protected]>: >> Ah! After looking at your code, I think I might know what your >> question means. Do you mean "If I call RegisterRelation, why >> does gocharm not generate relation hooks for that relation?". >> If so, the answer is that gocharm only generates a hook stub when >> you've called RegisterHook for that hook (it can't know >> *which* hooks you want to be called. RegisterRelation just >> registers the relation; it doesn't say that you're interested in hook >> invocations >> for that relation. See charmbits/httprelation for an example >> of how to implement a relation. > > > Thanks for all answers. > Offtopic question - does you know something like chef/puppet but > written in go ?=)
I don't, but someone else here might :) -- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
