[
https://issues.apache.org/jira/browse/MESOS-7345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15955934#comment-15955934
]
Neil Conway commented on MESOS-7345:
------------------------------------
MESOS-7344 talks about a Stout-specific issue (we neglect to escape quotes and
other characters in flag output in general); whereas this issue is
Mesos-specific (if {{operator<<}} for the appropriate flag used
{{JSON::protobuf}}, the problem would be avoided).
> JSON Mesos flags not printed in JSON
> ------------------------------------
>
> Key: MESOS-7345
> URL: https://issues.apache.org/jira/browse/MESOS-7345
> Project: Mesos
> Issue Type: Improvement
> Components: general
> Reporter: Neil Conway
> Labels: mesosphere, newbie
>
> {noformat}
> $ ./src/mesos-master --work_dir=$HOME/master_wd
> --acls='{"register_frameworks": [{"principals": {"type": "ANY"}, "roles":
> {"values": ["xyz"]}}]}'
> [...]
> Flags at startup: --acls="register_frameworks {
> principals {
> type: ANY
> }
> roles {
> values: "xyz"
> }
> }
> " [...]
> {noformat}
> This is not valid JSON (e.g., field names are not quoted), which means it
> isn't actually legal syntax.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)