Skip to content

Commit

Permalink
feat(snap): add config interface with unique identifier
Browse files Browse the repository at this point in the history
Signed-off-by: Mengyi Wang <mengyi.wang@canonical.com>
  • Loading branch information
MonicaisHer authored Oct 17, 2022
1 parent b9a08de commit 1fa84fe
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ slots:
source:
write: [$SNAP_DATA/device-rfid-llrp]

plugs:
device-rfid-llrp-config:
interface: content
target: $SNAP_DATA/config/device-rfid-llrp

# deprecated
device-config:
interface: content
target: $SNAP_DATA/config/device-rfid-llrp

apps:
auto-configure:
adapter: none
Expand Down Expand Up @@ -50,11 +60,6 @@ apps:
install-mode: disable
plugs: [network, network-bind]

plugs:
device-config:
interface: content
target: $SNAP_DATA/config/device-rfid-llrp

parts:
helper-go:
source: snap/local/helper-go
Expand Down

0 comments on commit 1fa84fe

Please sign in to comment.