Open jefvantongerloo opened 3 years ago
Reopend with correct username commits
Get_facts items contains leading and trailing whitespaces #36
Removes heading and trailing spaces from the vendor and os_version attribute used by the get_facts module.
output before: {'vendor': 'Alcatel-Lucent Enterprise ', 'os_version': ' 8.6.289.R01 GA, July 13, 2019.'} output after: {'vendor': 'Alcatel-Lucent Enterprise', 'os_version': '8.6.289.R01 GA, July 13, 2019.'}
{'vendor': 'Alcatel-Lucent Enterprise ', 'os_version': ' 8.6.289.R01 GA, July 13, 2019.'}
{'vendor': 'Alcatel-Lucent Enterprise', 'os_version': '8.6.289.R01 GA, July 13, 2019.'}
Reopend with correct username commits
Reference issues/PRs
Get_facts items contains leading and trailing whitespaces #36
Fixes
Removes heading and trailing spaces from the vendor and os_version attribute used by the get_facts module.
Example
output before:
{'vendor': 'Alcatel-Lucent Enterprise ', 'os_version': ' 8.6.289.R01 GA, July 13, 2019.'}
output after:{'vendor': 'Alcatel-Lucent Enterprise', 'os_version': '8.6.289.R01 GA, July 13, 2019.'}