Merge ~jocave/plainbox-provider-resource:handle-no-plugs-on-system into plainbox-provider-resource:master
Proposed by
Jonathan Cave
Status: | Merged |
---|---|
Approved by: | Jonathan Cave |
Approved revision: | eee6cdfc03d37e1b9067f2f7740cf364783c5f8c |
Merged at revision: | 784e5574b8e7de8fe475ac48137c3c50414410ee |
Proposed branch: | ~jocave/plainbox-provider-resource:handle-no-plugs-on-system |
Merge into: | plainbox-provider-resource:master |
Diff against target: |
80 lines (+32/-30) 1 file modified
bin/snapd_resource (+32/-30) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+355451@code.launchpad.net |
Description of the change
Modify the snapd_resource script so that it properly handles situations where there could be no plugs or slots at all on the system. Previously, the script would throw a KeyError.
Tested on plano classic systems.
To post a comment you must log in.
+1