Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VM tap list includes comma's in the tap name #53

Open
c-abate opened this issue May 19, 2021 · 1 comment
Open

VM tap list includes comma's in the tap name #53

c-abate opened this issue May 19, 2021 · 1 comment

Comments

@c-abate
Copy link

c-abate commented May 19, 2021

When code like the below is ran in an app to get the list of taps associated with a VM all but the last entry in the list has a comma at the end of it.

Code:
taps = next((vm_['tap'] for vm_ in vms_info if vm_['name'] == 'some-vm'), None)

Example Results:
taps: ['mega_tap99,', 'mega_tap100'] or
taps: ['mega_tap92,', 'mega_tap93,', 'mega_tap94']

@activeshadow
Copy link
Collaborator

@c-abate is this still an issue? If so, what code are you using to populate the vms_info variable?

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

No branches or pull requests

2 participants