Merge ~sylvain-pineau/plainbox-provider-resource:fake_package_res_snappy into plainbox-provider-resource:master
Proposed by
Sylvain Pineau
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 89ad9323bd82f7547a6cddccdafd96698e1daa1d |
Merged at revision: | f95a281c3400acd98665d6949751867a2da0e74f |
Proposed branch: | ~sylvain-pineau/plainbox-provider-resource:fake_package_res_snappy |
Merge into: | plainbox-provider-resource:master |
Diff against target: |
13 lines (+1/-1) 1 file modified
jobs/resource.pxu (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Cave (community) | Approve | ||
Review via email: mp+325750@code.launchpad.net |
Description of the change
See commit msg for details.
In short this patch makes the package resource to return at least one fake object on snappy.
To post a comment you must log in.
It unblocks this particular case using the package resource, so I'm +1 for that.
It sounds like the expression is expecting to search a list of objects to test the expression. Would it not be reasonable to modify plainbox such that a resource job that "passed" but produced no resource objects returns a single "False" outcome rather causing the expression to fail?