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

plugin_net: Fix check for channels supported mode #336

Merged
merged 1 commit into from Apr 15, 2021

Conversation

niteshnarayanlal
Copy link

Commit 0ab1f8c adds a check which replaces the channels mode parameters
based on the supported mode. With the older kernels, the un-supported mode
was indicated by 0, however recently that has been replaced by a string 'n/a'.
Due to this the check, in plugin_net that verifies if a replacement is
required or not fails.

Fix the check to incorporate this new string that indicates the un-supported
queue mode.

Resolves: rhbz#1943291

Signed-off-by: Nitesh Narayan Lal nitesh@redhat.com

Commit 0ab1f8c adds a check which replaces the channels mode parameters
based on the supported mode. With the older kernels, the un-supported mode
was indicated by 0, however recently that has been replaced by a string 'n/a'.
Due to this the check in plugin_net that verifies if a replacement is
required or not fails.

Fix the check to incorporate this new string that indicates the un-supported
mode.

Resolves: rhbz#1943291

Signed-off-by: Nitesh Narayan Lal <nitesh@redhat.com>
@niteshnarayanlal
Copy link
Author

@yarda Hi, any comments here?

@yarda
Copy link
Contributor

yarda commented Apr 15, 2021

@niteshnarayanlal LGTM, thanks.

@yarda yarda merged commit e828fa8 into redhat-performance:master Apr 15, 2021
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.

None yet

2 participants