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

Bug #1779964 reported by james beedy on 2018-07-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
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  Edit
Everyone can see this information.

Other bug subscribers