function core.hookenv.log does not work if message starts with dashes
Bug #1903076 reported by
Martin Kalcok
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
If a message passed to the log function begins with multiple dashes, for example "-----BEGIN CERTIFICATE-----", it will get misinterpreted as an additional argument to the juju-log command and it will throw:
ERROR option provided but not defined
description: | updated |
To post a comment you must log in.