action argument with : space is incorrectly interpreted as json

Bug #1515016 reported by Jay R. Wren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned

Bug Description

$ juju action do mongodb/0 dump args='-q "{a: 1}"'
ERROR json: unsupported type: map[interface {}]interface {}

but

$ juju action do mongodb/0 dump args='-q "{a:1}"'
Action queued with id: b6cfb8b2-7f9f-4fdf-87c7-3839db22f13d

I would like to pass arbitrary string to an action parameter. Is this possible?

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: 2.0-count
affects: juju-core → juju
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.