2015-04-23 20:31 GMT+03:00 roger peppe <roger.pe...@canonical.com>: > 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 ?=) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju