We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when the chassis not exist, the method ChassisExist return false
the method ChassisExist return true
if the output is a empty str, the method will return true, because len(strings.Split(output, "\n")) is 1, not 0.
Kubernetes version:
Output of kubectl version:
kubectl version
(paste your output here)
kube-ovn version:
v1.11.3
- operation-system/kernel version: **Output of `awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release`:** **Output of `uname -r`:**
<!-- Any other additional information -->
The text was updated successfully, but these errors were encountered:
Could you please commit a PR to fix it?
Sorry, something went wrong.
@zhangzujian okay
Successfully merging a pull request may close this issue.
Expected Behavior
when the chassis not exist, the method ChassisExist return false
Actual Behavior
the method ChassisExist return true
Steps to Reproduce the Problem
if the output is a empty str, the method will return true, because len(strings.Split(output, "\n")) is 1, not 0.
Additional Info
Kubernetes version:
Output of
kubectl version
:kube-ovn version:
v1.11.3
(paste your output here)
The text was updated successfully, but these errors were encountered: