From 0b1af5a928ec9919927661ca362ce0a7c067fd3a Mon Sep 17 00:00:00 2001 From: phvalguima Date: Thu, 12 Dec 2024 19:19:05 +0100 Subject: [PATCH] [DPE-6219] Only specify snap revision at install Closes #523 --- src/charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charm.py b/src/charm.py index 2823879af..cc5248fcc 100755 --- a/src/charm.py +++ b/src/charm.py @@ -1059,7 +1059,7 @@ def install_snap_packages(self, packages: List[Package]) -> None: snap_cache = snap.SnapCache() snap_package = snap_cache[snap_name] snap_package.ensure( - snap.SnapState.Latest, channel=snap_channel, revision=snap_revision + snap.SnapState.Latest, revision=snap_revision ) # snaps will auto refresh so it is necessary to hold the current revision snap_package.hold()