Any positional arguments after juju status are
now interpreted as filters for either service or
unit. If the filter includes a '/', then it is
considered a unit filter, else a service filter.
If all units of a service are filtered out, then
the service is filtered out; if all units of a
machine are filtered out, the machine is filtered
out (except to fill out the container hierarchy).
Reviewers: mp+178004_ code.launchpad. net,
Message:
Please take a look.
Description:
juju status: add service/unit filters
Any positional arguments after juju status are
now interpreted as filters for either service or
unit. If the filter includes a '/', then it is
considered a unit filter, else a service filter.
If all units of a service are filtered out, then
the service is filtered out; if all units of a
machine are filtered out, the machine is filtered
out (except to fill out the container hierarchy).
Filters are implemented using using shell file golang. org/pkg/ path/#Match
name pattern matching, like in pyjuju. See:
http://
Partially fixes bug 1121916
https:/ /code.launchpad .net/~axwalk/ juju-core/ lp1121916- juju-status- filters/ +merge/ 178004
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/12235043/
Affected files: juju/cmd_ test.go juju/status. go juju/status_ test.go
[revision details]
cmd/
cmd/
cmd/