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

Bug #1864550 reported by Paul Goins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prometheus Blackbox Exporter Charm
New
Medium
Unassigned

Bug Description

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.

Paul Goins (vultaire)
description: updated
Edin S (exsdev)
Changed in charm-prometheus-blackbox-exporter:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.