canonical / charm-prometheus-blackbox-exporter

This charm provides the Prometheus Blackbox exporter, part of the Prometheus monitoring system
0 stars 2 forks source link

snap_channel cannot be used to change the snap channel post-installation #3

Open jneo8 opened 10 months ago

jneo8 commented 10 months ago

snap_channel is only ever read during the install_packages() handler, which is only called "@when_not('blackbox-exporter.installed')"... which is a flag which never gets unset after initial installation.

This means that, unlike e.g. prometheus-libvirt-exporter-charm, snap_channel is presently only an install-time option; it has no impact if changed after installation has succeeded once.


Imported from Launchpad using lp2gh.