From 0fcc8fa616f1afb95a3784d5fa759e30a5f9fe91 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Wed, 1 Jul 2020 18:53:08 -0700 Subject: [PATCH] trying to figure out the consumer syntax --- certbot-dns-dnsimple/snap/snapcraft.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/certbot-dns-dnsimple/snap/snapcraft.yaml b/certbot-dns-dnsimple/snap/snapcraft.yaml index a306bb0c4..eae5639f6 100644 --- a/certbot-dns-dnsimple/snap/snapcraft.yaml +++ b/certbot-dns-dnsimple/snap/snapcraft.yaml @@ -28,10 +28,12 @@ slots: read: - $SNAP/lib/python3.8/site-packages +plugs: + certbot-version: + interface: content + content: version-1 + target: $SNAP/certbot-version + hooks: post-refresh: - plugs: - certbot-version: - interface: content - content: version-1 - target: $SNAP/certbot-version + plugs: [content, certbot-version] \ No newline at end of file