Skip to content

Conversation

@FloEisen
Copy link
Contributor

@FloEisen FloEisen commented Nov 24, 2021

Changed the split-delimiter from empty (white spaces) to comma. Because with white spaces as delimiter all vendors with a white space in their name cannot be imported (quotes didn't work in ENV strings).

For example:
docker run -e "VENDORS=Cisco Palo Alto " netbox-devicetype-import-library
This would be trated as three vendors.

Instead with comma as delimiter:
docker run -e "VENDORS=Cisco,Palo Alto" netbox-devicetype-import-library
Would be treated as wo vendors like it should.

Merging this change means, that you have to use a comma separated vendor list instead of white space separated from now on.
But all the vendors with white spaces in thier name will then be supported as well (tested it already).

Fixes #34

@minitriga minitriga merged commit 8f3a4b4 into netbox-community:master Nov 24, 2021
@FloEisen FloEisen deleted the Fix--Issue-#34 branch November 24, 2021 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to Palo Alto using --Vendors

2 participants