Skip to content
This repository was archived by the owner on Jan 8, 2021. It is now read-only.

Comments

strip whitespace from platform name#127

Open
gstorme wants to merge 1 commit intosynackray:developfrom
gstorme:develop
Open

strip whitespace from platform name#127
gstorme wants to merge 1 commit intosynackray:developfrom
gstorme:develop

Conversation

@gstorme
Copy link

@gstorme gstorme commented Aug 14, 2020

The guestOS reported by VMware vSphere API can sometimes contain a trailing whitespace.
For example "Linux 4.18.0-147.8.1.el8_1.x86_64 CentOS Linux release 8.1.1911 (Core) "

This causes problems, more information on this is described in netbox-community/netbox#4974
I propose to strip the trailing whitespace from the platform name, if its value is not empty.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant