bthomasChipaca: I wasn't mocking you on MM. Dylan mentioned that it was possible to find the IP address of the unit executing a charm hook by passing no argument to get_binding. I thought that was odd because the argument was not optional, and if that was indeed the behaviour I felt you ought to be informed.09:46
bthomasIt turns out that Dylan had it wrong and you can not call that function without an argument.09:47
facubatista¡Muy buenos días a todos!10:59
bthomasनमस्ते facubatista11:00
facubatistahola bthomas11:01
bthomasI have a module variable SEED_SIZE in my Charm. I was thinking I could access this as self.harness.charm.SEED_SIZE . But this does not turn out to be the case. Is there any other way ?11:02
bthomasAlternatively would it be better to eschew module variables that change pod_spec and use charm config instead to allow for better testability ?11:06
Chipacabthomas: a module variable? it'd be just <module>.SEED_SIZE11:11
Chipacabthomas: i mean, you did 'from charm import MyCharm' or something like that, then 'from charm import SEED_SIZE', or 'import charm' and then use charm.SEED_SIZE11:11
Chipacaanyway, i'm off for a bit11:11
* Chipaca ⇝ runch11:12
bthomasChipaca: thanks got it11:12
* facubatista -> errands (ones I cancelled yesterday :p )13:17
* Chipaca can't read 'errand' without thinking of the belgariad13:44
* facubatista is back14:08
mupPR operator#417 closed: Added a few doc strings to charm module <Created by balbirthomas> <Merged by chipaca> <https://github.com/canonical/operator/pull/417>16:55
* Chipaca EODs18:20
mupPR operator#422 closed: Allow nesting of disable_hooks context manager <Created by stub42> <Merged by chipaca> <https://github.com/canonical/operator/pull/422>18:20
facubatistabthomas, justinclark, review appreciated on this simple preparation PR: https://github.com/canonical/charmcraft/pull/172 -- thanks!18:38
mupPR charmcraft#172: Small improvements in preparation for the commands refactor branch <Created by facundobatista> <https://github.com/canonical/charmcraft/pull/172>18:38

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!