pxn opened a new issue #106:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/106
When command output field text contains `,` it breaks csv structure. Those
fields should be enclosed in "".
output in JSON:
`() cmk > list virtualmachines `filter=name,displayname,instancename`
`{
"count": 1,
"virtualmachine": [
{
"displayname": "DuVPC-AD,WSUS, DNS",
"instancename": "i-211-1313-VM",
"name": "MS-DC-PRI"
}
]
}`
same VM output in csv:
`() cmk > list virtualmachines filter=name,displayname,instancename`
`name,displayname,instancename`
`MS-DC-PRI,DuVPC-AD,WSUS, DNS,i-211-1313-VM`
expected csv output:
`() cmk > list virtualmachines filter=name,displayname,instancename`
`name,displayname,instancename`
`MS-DC-PRI,"DuVPC-AD,WSUS, DNS",i-211-1313-VM`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]