You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should also be documented that refresh_events defaults to the charm on.config_changed event - it's not clear because this is set in the init method, not from the default value of the kwarg (None).
Bug Description
Docs for
refresh_events
optional kwarg toCOSAgentProvider
shows that string event names are accepted:(https://github.com/canonical/grafana-agent-operator/blob/main/lib/charms/grafana_agent/v0/cos_agent.py#L110)
However this crashes with this error:
The docs (text, examples, and type hints) should be updated to demonstrate that it takes event classes as values here.
The text was updated successfully, but these errors were encountered: