'juju action fetch' should allow output of a single result

Bug #1445078 reported by Tim Penhey
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
Medium
Unassigned

Bug Description

By default, when fetching results for a complete action, the entire result structure is returned, including the status and timing information.

In order to make this more scriptable for some situations, it would be good to be able to specify just a single result that was set by the action script.

Something like:

  juju action fetch <uuid> result.foo

or

  juju action fetch <uuid> result.foo status timing.completed

If there is only one element specified, the default output should not attempt to make it YAML, but just output it (like the behaviour of 'juju api-info')

Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: actions
Marco Ceppi (marcoceppi)
tags: added: charmers
Changed in juju-core:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.