Merge lp:~marcoceppi/charm-helpers/resource-get into lp:charm-helpers
Proposed by
Marco Ceppi
on 2016-03-07
| Status: | Merged |
|---|---|
| Merged at revision: | 543 |
| Proposed branch: | lp:~marcoceppi/charm-helpers/resource-get |
| Merge into: | lp:charm-helpers |
| Diff against target: |
63 lines (+34/-1) 2 files modified
charmhelpers/core/hookenv.py (+18/-0) tests/core/test_hookenv.py (+16/-1) |
| To merge this branch: | bzr merge lp:~marcoceppi/charm-helpers/resource-get |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Adam Israel | 2016-03-07 | Approve on 2016-03-09 | |
|
Review via email:
|
|||
Commit Message
Adds support for resource-get
Description of the Change
Support resource-get command
* Returns the path of the resource as provided by resource-get <resource>
* Returns False when resource is not available
* Raises NotImplementedError for all versions of Juju which resource-get is not available
To post a comment you must log in.


Hey Marco. This looks good to me. +1