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
I'm using govc version v0.25.0 and when some of the hosts are on maintenance mode, the result of this command:
govc host.info '/dc/host/cluster/*'
Reads this way:
Name: X.company.com Path: /dc/host/cluster/X.server.company.com Manufacturer: HPE Logical CPUs: 44 CPUs @ 2095MHz Processor type: Intel(R) Xeon(R) Gold 6152 CPU @ 2.10GHz CPU usage: 156 MHz (0.2%) Memory: 786084MB Memory usage: 7155 MB (0.9%) Boot time: 2021-04-27 06:09:37.130746 +0000 UTC State: Maintenance ModeName: Y.company.com Path: /dc/host/cluster/X.server.company.com Manufacturer: HPE Logical CPUs: 44 CPUs @ 2095MHz Processor type: Intel(R) Xeon(R) Gold 6152 CPU @ 2.10GHz CPU usage: 40429 MHz (43.9%) Memory: 786084MB Memory usage: 338520 MB (43.1%) Boot time: 2020-08-02 18:03:10.532999 +0000 UTC State: connected
The last line (State) gets mixed with the first line of the next host of the cluster.
I think that the problem is the lack of the new-line character in this line of code:
govmomi/govc/host/info.go
Line 156 in 82b771e
Which is present in the following line:
Line 158 in 82b771e
Should I open a PR with this change? It feels kind of silly, but is bugging me in my host.info listings 😅
The text was updated successfully, but these errors were encountered:
Not silly at all, please do open a PR!
Sorry, something went wrong.
Thanks, I have just opened the PR.
govc: Change 'Maintenance Mode' printing in host.info
0bf3bb0
Closes: vmware#2398
eb75215
Successfully merging a pull request may close this issue.
I'm using govc version v0.25.0 and when some of the hosts are on maintenance mode, the result of this command:
govc host.info '/dc/host/cluster/*'
Reads this way:
The last line (State) gets mixed with the first line of the next host of the cluster.
I think that the problem is the lack of the new-line character in this line of code:
govmomi/govc/host/info.go
Line 156 in 82b771e
Which is present in the following line:
govmomi/govc/host/info.go
Line 158 in 82b771e
Should I open a PR with this change? It feels kind of silly, but is bugging me in my host.info listings 😅
The text was updated successfully, but these errors were encountered: