[actions] cannot cat json file to string in action param

Bug #1779964 reported by james beedy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
New
Undecided
Unassigned

Bug Description

I want to specify a json file as a string argument for an action [0], this is the result I get [1].

[0] https://github.com/omnivector-solutions/layer-elasticsearch/blob/settings_update_action/actions.yaml#L4
[1] https://paste.ubuntu.com/p/XbkVRXbJPz/

Revision history for this message
james beedy (jamesbeedy) wrote :

As a workaround, I'm sending the json file as base64. Possibly this is the best way to do it?

Revision history for this message
Anastasia (anastasia-macmood) wrote :

I do agree that we could support several file types. Proposed solution was outlined in bug # 1670838.

I'll mark this report as a duplicate of that bug.

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.