[
https://issues.apache.org/jira/browse/KARAF-5864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated KARAF-5864:
----------------------------------------
Comment: was deleted
(was: Actually, the system collector already tries to parse the output as
integer/double before fallbacking to string. I'm testing if the behavior is
correct.
In that case, this change won't be required.)
> Add triming in system command output in the system collector to allow clean
> type conversion
> -------------------------------------------------------------------------------------------
>
> Key: KARAF-5864
> URL: https://issues.apache.org/jira/browse/KARAF-5864
> Project: Karaf
> Issue Type: Improvement
> Components: decanter
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: decanter-2.1.0
>
>
> The system collector tries to convert the execution output of a the system
> command to {{double}} or {{integer}} and fallback to {{string}} if the
> conversion fails.
> However, the system command output can contains heading or trailing space.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)