ConnectedSlotSnippet not invoked when connecting two snaps
Bug #1625291 reported by
Jonathan Cave
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Invalid
|
Undecided
|
Zygmunt Krynicki |
Bug Description
I have a slot declared on a gadget snap of type gpio, for example:
name: gadget-snap
...
slots:
my-gpio:
interface: gpio
number: 346
...
I install a snap with a plug that wants to use this slot:
name: app-snap
...
apps:
my-app:
command: gpio-up
plugs: [gpio]
...
When the plug and slot are connected I would expect that ConnectedSlotSn
[1] https:/
Changed in snappy: | |
assignee: | nobody → Zygmunt Krynicki (zyga) |
To post a comment you must log in.
I believe this is not the case.
This pull request https:/ /github. com/snapcore/ snapd/pull/ 1951 contains a regression test for this that shows we do call the ConnectedSlotSn ippet method.
Details start at: https:/ /github. com/snapcore/ snapd/pull/ 1951/files# diff-d63f90d47a ab6c5372ae15451 6d8d43bR105