Stub
Stub
On Wed, 18 Mar 2020 at 07:00, Facundo Batista wrote: > @stub42 the suggestion of including a "name" > in the call, is to just assign it to the open...
On Thu, 19 Mar 2020 at 23:02, Facundo Batista wrote: > Thanks @stub42 . From your POV, changing ports > for one service/purpose is so common that is a good...
Dummy values could be set, random-but-stable IP addresses or just completely random would work. Alternatively, a way for the charm author to initialize them via add_relation_unit (to ensure they are...
I think this could be fixed in the Operator Framework, and prototyped with a decorator, implementing some of the previous comment's ideas. ```python class MyCharm(CharmBase): [...] @leader_only def on_config_changed(self, event):...
(for the above, the trick would be calculating what key to use for the flag, probably involving the event handle. And how to clear the flag, possibly by clearing all...
An explicit call to self.harness.framework.reemit() will reemit deferred events, which I'm using to confirm that non-peers are correctly deferring an event until the leader has published required data. https://github.com/canonical/ops-lib-pgsql/blob/f16114b3c8d7411c1bb15e86867f20282be34a36/tests/test_client.py#L893
pytz 2022.2 includes a new Asia/Hanoi entry in pytz.common_timezones , but Python's zoneinfo (and backports.zoneinfo) do not have that zone in their zoneinfo database (yet) and raise the exception. There...
393933cfe73994e579c853f2e61bbd7ff34fdfa5 is a trivial change that fixes most of this issue for PostgreSQL, ensuring that slices are only made of the primary type rather than the nullable type. I think...
Assuming this is a snap confinement issue, is there a PPA available as a work around? I haven't found install instructions anywhere detailing supported installation methods
service manager and reactive charms handle the flush() for you, and charms should definitely *not* call flush explicitly. If they do, the reactive states for example will get persisted early...